pub enum AddrType {
Any,
V4,
V6,
}
Expand description
The address type for a DNS query.
Variants§
Any
Resolve to an IPv4 or IPv6 address.
V4
Resolve to an IPv4 address.
V6
Resolve to an IPv6 address.
Trait Implementations§
impl Copy for AddrType
Auto Trait Implementations§
impl Freeze for AddrType
impl RefUnwindSafe for AddrType
impl Send for AddrType
impl Sync for AddrType
impl Unpin for AddrType
impl UnwindSafe for AddrType
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