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

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

Parsing errors for variable packet

Variants

Trait Implementations

impl Debug for VariablePacketError
[src]

Formats the value using the given formatter. Read more

impl From<FixedHeaderError> for VariablePacketError
[src]

Performs the conversion.

impl From<Error> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<ConnectPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<ConnackPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<PublishPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<PubackPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<PubrecPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<PubrelPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<PubcompPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<PingreqPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<PingrespPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<SubscribePacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<SubackPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<UnsubscribePacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<UnsubackPacket>> for VariablePacketError
[src]

Performs the conversion.

impl From<PacketError<DisconnectPacket>> for VariablePacketError
[src]

Performs the conversion.

impl Display for VariablePacketError
[src]

Formats the value using the given formatter. Read more

impl Error for VariablePacketError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations