Struct mariadb_sys::st_mysql_socket
source · #[repr(C)]pub struct st_mysql_socket {
pub fd: my_socket,
pub is_unix_domain_socket: c_char,
pub is_extra_port: c_char,
pub address_family: c_ushort,
pub m_psi: *mut PSI_socket,
}
Expand description
An instrumented socket.
Fields§
§fd: my_socket
The real socket descriptor.
is_unix_domain_socket: c_char
Is this a Unix-domain socket?
is_extra_port: c_char
Is this a socket opened for the extra port?
address_family: c_ushort
Address family of the socket. (See sa_family from struct sockaddr).
m_psi: *mut PSI_socket
The instrumentation hook. Note that this hook is not conditionally defined, for binary compatibility of the @c MYSQL_SOCKET interface.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for st_mysql_socket
impl !Send for st_mysql_socket
impl !Sync for st_mysql_socket
impl Unpin for st_mysql_socket
impl UnwindSafe for st_mysql_socket
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more