[][src]Enum dns_message_parser::DecodeError

pub enum DecodeError {
    NotEnoughData,
    TooMuchData,
    OpcodeError,
    ZNotZeroes,
    RCodeError,
    TypeError(u16),
    ClassError(u16),
    QTypeError(u16),
    QClassError(u16),
    Utf8Error(Utf8Error),
    FromUtf8Error(FromUtf8Error),
    Domain(DomainNameError),
    NotYetImplemented,
    FromHexError(FromHexError),
    OffsetError(usize),
    AError(Class),
    WKSError(Class),
    AFSDBSubtypeError(u16),
    X25Error(X25Error),
    ISDNError(ISDNError),
    GPOSError,
    AAAAError(Class),
    OPTDomainNameError(DomainName),
    OPTZeroError(u8),
    EDNSOptionCodeError(u16),
    ECSError(ECSError),
    EcsAddressNumberError(u16),
    EcsTooBigIpv4Address(usize),
    EcsTooBigIpv6Address(usize),
    CookieLengthError(usize),
    SSHFPAlgorithmError(u8),
    SSHFPTypeError(u8),
    MaxRecursionError(usize),
    RemainingBytes(usize),
}

Variants

NotEnoughData
TooMuchData
OpcodeError
ZNotZeroes
RCodeError
TypeError(u16)
ClassError(u16)
QTypeError(u16)
QClassError(u16)
Utf8Error(Utf8Error)
FromUtf8Error(FromUtf8Error)
NotYetImplemented
FromHexError(FromHexError)
OffsetError(usize)
AError(Class)
WKSError(Class)
AFSDBSubtypeError(u16)
X25Error(X25Error)
ISDNError(ISDNError)
GPOSError
AAAAError(Class)
OPTDomainNameError(DomainName)
OPTZeroError(u8)
EDNSOptionCodeError(u16)
ECSError(ECSError)
EcsAddressNumberError(u16)
EcsTooBigIpv4Address(usize)
EcsTooBigIpv6Address(usize)
CookieLengthError(usize)
SSHFPAlgorithmError(u8)
SSHFPTypeError(u8)
MaxRecursionError(usize)
RemainingBytes(usize)

Trait Implementations

impl Debug for DecodeError[src]

impl From<DomainNameError> for DecodeError[src]

impl From<ECSError> for DecodeError[src]

impl From<FromHexError> for DecodeError[src]

impl From<FromUtf8Error> for DecodeError[src]

impl From<ISDNError> for DecodeError[src]

impl From<Utf8Error> for DecodeError[src]

impl From<X25Error> for DecodeError[src]

impl PartialEq<DecodeError> for DecodeError[src]

impl StructuralPartialEq for DecodeError[src]

Auto Trait Implementations

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, 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.