Struct nc::types::sockaddr_t [−][src]
#[repr(C)]pub struct sockaddr_t {
pub sa_family: sa_family_t,
pub sa_data: [u8; 14],
}
Expand description
1003.1g requires sa_family_t and that sa_data is char.
Fields
sa_family: sa_family_t
address family, AF_xxx
sa_data: [u8; 14]
14 bytes of protocol address
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for sockaddr_t
impl Send for sockaddr_t
impl Sync for sockaddr_t
impl Unpin for sockaddr_t
impl UnwindSafe for sockaddr_t
Blanket Implementations
Mutably borrows from an owned value. Read more