[][src]Enum domain::base::name::SplitLabelError

pub enum SplitLabelError {
    Pointer(u16),
    BadType(LabelTypeError),
    ShortInput,
}

An error happened while splitting a label from an octets slice.

Variants

Pointer(u16)

The label was a pointer to the given position.

The label type was invalid.

ShortInput

The octets slice was shorter than indicated by the label length.

Trait Implementations

impl Clone for SplitLabelError[src]

impl Copy for SplitLabelError[src]

impl Debug for SplitLabelError[src]

impl Display for SplitLabelError[src]

impl Eq for SplitLabelError[src]

impl Error for SplitLabelError[src]

impl From<LabelTypeError> for SplitLabelError[src]

impl From<SplitLabelError> for DnameError[src]

impl From<SplitLabelError> for ParseError[src]

impl From<SplitLabelError> for RelativeDnameError[src]

impl PartialEq<SplitLabelError> for SplitLabelError[src]

impl StructuralEq for SplitLabelError[src]

impl StructuralPartialEq for SplitLabelError[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,