pub enum Type {
A,
Ns,
Cname,
Mx,
Txt,
Aaaa,
Unknown(u16),
}Expand description
The type of ResourceRecord.
Variants§
A
A host address (IPv4)
Ns
An authoritative name server
Cname
The canonical name for an alias
Mx
A mail exchange
Txt
Text strings
Aaaa
A host address (IPv6)
Unknown(u16)
?: A value has been received that does not correspond to any known qtype.
Trait Implementations§
Source§impl PartialOrd for Type
impl PartialOrd for Type
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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