Enum mqtt::packet::VariablePacketError
[−]
[src]
pub enum VariablePacketError<'a> {
FixedHeaderError(FixedHeaderError),
UnrecognizedPacket(u8, Vec<u8>),
ReservedPacket(u8, Vec<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
FixedHeaderError(FixedHeaderError)UnrecognizedPacket(u8, Vec<u8>)ReservedPacket(u8, Vec<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>)Trait Implementations
impl<'a> Debug for VariablePacketError<'a>[src]
impl<'a> From<FixedHeaderError> for VariablePacketError<'a>[src]
fn from(err: FixedHeaderError) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<Error> for VariablePacketError<'a>[src]
fn from(err: Error) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, ConnectPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, ConnectPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, ConnackPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, ConnackPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, PublishPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, PublishPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, PubackPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, PubackPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, PubrecPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, PubrecPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, PubrelPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, PubrelPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, PubcompPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, PubcompPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, PingreqPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, PingreqPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, PingrespPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, PingrespPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, SubscribePacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, SubscribePacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, SubackPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, SubackPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, UnsubscribePacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, UnsubscribePacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, UnsubackPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, UnsubackPacket>) -> VariablePacketError<'a>
Performs the conversion.
impl<'a> From<PacketError<'a, DisconnectPacket>> for VariablePacketError<'a>[src]
fn from(err: PacketError<'a, DisconnectPacket>) -> VariablePacketError<'a>
Performs the conversion.