[][src]Enum dns_message_parser::QClass

pub enum QClass {
    Class(Class),
    QClass(QClass_),
}

Variants

Class(Class)
QClass(QClass_)

Methods

impl QClass[src]

pub fn decode(bytes: &Bytes, offset: &mut usize) -> Result<QClass, DecodeError>[src]

impl QClass[src]

pub fn encode(&self, bytes: &mut BytesMut) -> Result<(), EncodeError>[src]

Trait Implementations

impl Clone for QClass[src]

impl Debug for QClass[src]

impl Eq for QClass[src]

impl Hash for QClass[src]

impl PartialEq<QClass> for QClass[src]

impl StructuralEq for QClass[src]

impl StructuralPartialEq for QClass[src]

Auto Trait Implementations

impl RefUnwindSafe for QClass

impl Send for QClass

impl Sync for QClass

impl Unpin for QClass

impl UnwindSafe for QClass

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.