[][src]Enum ax25::frame::FrameParseError

pub enum FrameParseError {
    OnlyNullBytes,
    NoEndToAddressField,
    AddressFieldTooShort {
        start: usize,
        end: usize,
    },
    FrameTooShort {
        len: usize,
    },
    AddressInvalidUtf8 {
        source: FromUtf8Error,
    },
    ContentZeroLength,
    MissingPidField,
    UnrecognisedSFieldType,
    UnrecognisedUFieldType,
    WrongSizeFrmrInfo,
}

Errors when parsing a byte buffer into an Ax25Frame

Variants

OnlyNullBytes
NoEndToAddressField
AddressFieldTooShort

Fields of AddressFieldTooShort

start: usizeend: usize
FrameTooShort

Fields of FrameTooShort

len: usize
AddressInvalidUtf8

Fields of AddressInvalidUtf8

source: FromUtf8Error
ContentZeroLength
MissingPidField
UnrecognisedSFieldType
UnrecognisedUFieldType
WrongSizeFrmrInfo

Trait Implementations

impl Debug for FrameParseError[src]

impl Display for FrameParseError[src]

impl Error for FrameParseError where
    Self: Debug + Display
[src]

impl ErrorCompat for FrameParseError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsErrorSource for T where
    T: 'static + Error
[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> 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.