Enum posish::net::AddressFamily [−][src]
#[repr(u32)] #[non_exhaustive] pub enum AddressFamily { Local, Inet, Inet6, }
Expand description
AF_*
constants.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AF_LOCAL
, aka AF_UNIX
AF_INET
AF_INET6
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AddressFamily
impl Send for AddressFamily
impl Sync for AddressFamily
impl Unpin for AddressFamily
impl UnwindSafe for AddressFamily
Blanket Implementations
Mutably borrows from an owned value. Read more