#[repr(u16)]pub enum DnsQClass {
IN = 1,
CS = 2,
CH = 3,
HS = 4,
ANY = 255,
Reserved = 256,
}
Expand description
The class of a DNS query.
According to RFC 1035 Section 3.2.4.
Variants§
Implementations§
Trait Implementations§
impl Copy for DnsQClass
impl StructuralPartialEq for DnsQClass
Auto Trait Implementations§
impl Freeze for DnsQClass
impl RefUnwindSafe for DnsQClass
impl Send for DnsQClass
impl Sync for DnsQClass
impl Unpin for DnsQClass
impl UnwindSafe for DnsQClass
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