Enum e_utils::dns::AddrFamily
source · [−]pub enum AddrFamily {
Unix,
Inet,
Inet6,
}Available on crate feature
dns only.Expand description
Address Family
Cross platform enum of common Address Families. For missing types use
the libc and winapi crates, depending on platform.
Variants
Unix
Local to host (pipes and file-domain)
Inet
IP protocol family.
Inet6
IP version 6.
Trait Implementations
sourceimpl Clone for AddrFamily
impl Clone for AddrFamily
sourcefn clone(&self) -> AddrFamily
fn clone(&self) -> AddrFamily
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AddrFamily
impl Debug for AddrFamily
sourceimpl From<AddrFamily> for c_int
impl From<AddrFamily> for c_int
sourcefn from(sock: AddrFamily) -> c_int
fn from(sock: AddrFamily) -> c_int
Converts to this type from the input type.
sourceimpl PartialEq<AddrFamily> for AddrFamily
impl PartialEq<AddrFamily> for AddrFamily
sourceimpl PartialEq<AddrFamily> for c_int
impl PartialEq<AddrFamily> for c_int
sourceimpl PartialEq<i32> for AddrFamily
impl PartialEq<i32> for AddrFamily
impl Copy for AddrFamily
impl StructuralPartialEq for AddrFamily
Auto Trait Implementations
impl RefUnwindSafe for AddrFamily
impl Send for AddrFamily
impl Sync for AddrFamily
impl Unpin for AddrFamily
impl UnwindSafe for AddrFamily
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
