Enum external_ip::Family
source · pub enum Family {
Any,
IPv4,
IPv6,
}
Expand description
IP Address family to try to resolve for
Variants§
Any
Doesn’t provide a specific IP family, so it will try all of them
IPv4
Lookup only IPv4 addresses
IPv6
Lookup only IPv6 addresses
Trait Implementations§
source§impl PartialEq for Family
impl PartialEq for Family
impl Copy for Family
impl StructuralPartialEq for Family
Auto Trait Implementations§
impl Freeze for Family
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnwindSafe for Family
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