Enum libnss::host::AddressFamily
source · pub enum AddressFamily {
IPv4,
IPv6,
Unspecified,
}
Variants§
Trait Implementations§
source§impl PartialEq for AddressFamily
impl PartialEq for AddressFamily
source§fn eq(&self, other: &AddressFamily) -> bool
fn eq(&self, other: &AddressFamily) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddressFamily
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§
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