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

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

Variants

MalformedRemainingLengthUnrecognized(u8u32)ReservedType(u8u32)PacketTypeError(PacketTypeError)IoError(Error)

Trait Implementations

impl Debug for FixedHeaderError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for FixedHeaderError
[src]

fn from(err: Error) -> FixedHeaderError

Performs the conversion.

impl From<PacketTypeError> for FixedHeaderError
[src]

fn from(err: PacketTypeError) -> FixedHeaderError

Performs the conversion.

impl From<Error> for FixedHeaderError
[src]

fn from(err: Error) -> FixedHeaderError

Performs the conversion.

impl Display for FixedHeaderError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for FixedHeaderError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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