Enum mqtt::packet::VariablePacketError [] [src]

pub enum VariablePacketError<'a> {
    FixedHeaderError(FixedHeaderError),
    UnrecognizedPacket(u8Vec<u8>),
    ReservedPacket(u8Vec<u8>),
    IoError(Error),
    ConnectPacketError(PacketError<'a, ConnectPacket>),
    ConnackPacketError(PacketError<'a, ConnackPacket>),
    PublishPacketError(PacketError<'a, PublishPacket>),
    PubackPacketError(PacketError<'a, PubackPacket>),
    PubrecPacketError(PacketError<'a, PubrecPacket>),
    PubrelPacketError(PacketError<'a, PubrelPacket>),
    PubcompPacketError(PacketError<'a, PubcompPacket>),
    PingreqPacketError(PacketError<'a, PingreqPacket>),
    PingrespPacketError(PacketError<'a, PingrespPacket>),
    SubscribePacketError(PacketError<'a, SubscribePacket>),
    SubackPacketError(PacketError<'a, SubackPacket>),
    UnsubscribePacketError(PacketError<'a, UnsubscribePacket>),
    UnsubackPacketError(PacketError<'a, UnsubackPacket>),
    DisconnectPacketError(PacketError<'a, DisconnectPacket>),
}

Variants

Trait Implementations

impl<'a> Debug for VariablePacketError<'a>
[src]

Formats the value using the given formatter.

impl<'a> From<FixedHeaderError> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<Error> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, ConnectPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, ConnackPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, PublishPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, PubackPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, PubrecPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, PubrelPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, PubcompPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, PingreqPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, PingrespPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, SubscribePacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, SubackPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, UnsubscribePacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, UnsubackPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> From<PacketError<'a, DisconnectPacket>> for VariablePacketError<'a>
[src]

Performs the conversion.

impl<'a> Display for VariablePacketError<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Error for VariablePacketError<'a>
[src]

A short description of the error. Read more

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