[][src]Enum radius::core::packet::PacketError

pub enum PacketError {
    InsufficientPacketPayloadLengthError(usizeusize),
    InsufficientHeaderDefinedPacketLengthError(usizeusize),
    HeaderDefinedPacketLengthExceedsMaximumLimitError(usizeusize),
    DecodingError(String),
    EncodingError(String),
    UnknownCodeError(String),
}

Variants

InsufficientPacketPayloadLengthError(usizeusize)

An error indicates the entire length of the given packet has insufficient length.

InsufficientHeaderDefinedPacketLengthError(usizeusize)

An error indicates the length that is instructed by a header is insufficient.

HeaderDefinedPacketLengthExceedsMaximumLimitError(usizeusize)

An error indicates the length that is instructed by a header exceeds the maximum length of the RADIUS packet.

DecodingError(String)

An error that is raised when an error has been occurred on decoding bytes for a packet.

EncodingError(String)

An error that is raised when an error has been occurred on encoding a packet into bytes.

UnknownCodeError(String)

An error that is raised when it received unknown packet type code of RADIUS.

Trait Implementations

impl Debug for PacketError[src]

impl Display for PacketError[src]

impl Error for PacketError[src]

impl PartialEq<PacketError> for PacketError[src]

impl StructuralPartialEq for PacketError[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> 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>,