Enum dns_parser::QueryClass
source · [−]pub enum QueryClass {
IN,
CS,
CH,
HS,
Any,
}
Expand description
The QCLASS value according to RFC 1035
Variants
IN
the Internet
CS
the CSNET class (Obsolete - used only for examples in some obsolete RFCs)
CH
the CHAOS class
HS
Hesiod [Dyer 87]
Any
Any class
Implementations
sourceimpl QueryClass
impl QueryClass
Trait Implementations
sourceimpl Clone for QueryClass
impl Clone for QueryClass
sourcefn clone(&self) -> QueryClass
fn clone(&self) -> QueryClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QueryClass
impl Debug for QueryClass
sourceimpl PartialEq<QueryClass> for QueryClass
impl PartialEq<QueryClass> for QueryClass
impl Copy for QueryClass
impl Eq for QueryClass
impl StructuralEq for QueryClass
impl StructuralPartialEq for QueryClass
Auto Trait Implementations
impl RefUnwindSafe for QueryClass
impl Send for QueryClass
impl Sync for QueryClass
impl Unpin for QueryClass
impl UnwindSafe for QueryClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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