Enum simple_dns::CLASS
source · [−]pub enum CLASS {
IN,
CS,
CH,
HS,
}
Expand description
Possible CLASS values for a Resource in a DNS packet
Each value is described according to its own RFC
Variants
IN
The Internet, RFC 1035
CS
The CSNET class (Obsolete - used only for examples in some obsolete RFCs), RFC 1035
CH
The CHAOS class, RFC 1035
HS
Hesiod [Dyer 87], RFC 1035
Trait Implementations
impl Copy for CLASS
impl Eq for CLASS
impl StructuralEq for CLASS
impl StructuralPartialEq for CLASS
Auto Trait Implementations
impl RefUnwindSafe for CLASS
impl Send for CLASS
impl Sync for CLASS
impl Unpin for CLASS
impl UnwindSafe for CLASS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more