pub enum AddressFamilyPreference {
System,
Ipv4,
Ipv6,
}Variants§
Trait Implementations§
Source§impl Clone for AddressFamilyPreference
impl Clone for AddressFamilyPreference
Source§fn clone(&self) -> AddressFamilyPreference
fn clone(&self) -> AddressFamilyPreference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AddressFamilyPreference
Source§impl Debug for AddressFamilyPreference
impl Debug for AddressFamilyPreference
impl Eq for AddressFamilyPreference
Source§impl PartialEq for AddressFamilyPreference
impl PartialEq for AddressFamilyPreference
impl StructuralPartialEq for AddressFamilyPreference
Auto Trait Implementations§
impl Freeze for AddressFamilyPreference
impl RefUnwindSafe for AddressFamilyPreference
impl Send for AddressFamilyPreference
impl Sync for AddressFamilyPreference
impl Unpin for AddressFamilyPreference
impl UnsafeUnpin for AddressFamilyPreference
impl UnwindSafe for AddressFamilyPreference
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