Enum mqtt::control::fixed_header::FixedHeaderError[][src]

pub enum FixedHeaderError {
    MalformedRemainingLength,
    Unrecognized(u8u32),
    ReservedType(u8u32),
    PacketTypeError(PacketTypeError),
    IoError(Error),
}

Variants

Trait Implementations

impl Debug for FixedHeaderError
[src]

Formats the value using the given formatter. Read more

impl From<Error> for FixedHeaderError
[src]

Performs the conversion.

impl From<PacketTypeError> for FixedHeaderError
[src]

Performs the conversion.

impl Display for FixedHeaderError
[src]

Formats the value using the given formatter. Read more

impl Error for FixedHeaderError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl<T: Packet> From<FixedHeaderError> for PacketError<T>
[src]

Performs the conversion.

impl From<FixedHeaderError> for VariablePacketError
[src]

Performs the conversion.

Auto Trait Implementations