Enum mqtt::packet::VariablePacketError [−][src]
pub enum VariablePacketError { FixedHeaderError(FixedHeaderError), UnrecognizedPacket(u8, Vec<u8>), ReservedPacket(u8, Vec<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
FixedHeaderError(FixedHeaderError)
UnrecognizedPacket(u8, Vec<u8>)
ReservedPacket(u8, Vec<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>)
Trait Implementations
impl Debug for VariablePacketError
[src]
impl Debug for VariablePacketError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<FixedHeaderError> for VariablePacketError
[src]
impl From<FixedHeaderError> for VariablePacketError
fn from(err: FixedHeaderError) -> VariablePacketError
[src]
fn from(err: FixedHeaderError) -> VariablePacketError
Performs the conversion.
impl From<Error> for VariablePacketError
[src]
impl From<Error> for VariablePacketError
fn from(err: Error) -> VariablePacketError
[src]
fn from(err: Error) -> VariablePacketError
Performs the conversion.
impl From<PacketError<ConnectPacket>> for VariablePacketError
[src]
impl From<PacketError<ConnectPacket>> for VariablePacketError
fn from(err: PacketError<ConnectPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<ConnectPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<ConnackPacket>> for VariablePacketError
[src]
impl From<PacketError<ConnackPacket>> for VariablePacketError
fn from(err: PacketError<ConnackPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<ConnackPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<PublishPacket>> for VariablePacketError
[src]
impl From<PacketError<PublishPacket>> for VariablePacketError
fn from(err: PacketError<PublishPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<PublishPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<PubackPacket>> for VariablePacketError
[src]
impl From<PacketError<PubackPacket>> for VariablePacketError
fn from(err: PacketError<PubackPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<PubackPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<PubrecPacket>> for VariablePacketError
[src]
impl From<PacketError<PubrecPacket>> for VariablePacketError
fn from(err: PacketError<PubrecPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<PubrecPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<PubrelPacket>> for VariablePacketError
[src]
impl From<PacketError<PubrelPacket>> for VariablePacketError
fn from(err: PacketError<PubrelPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<PubrelPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<PubcompPacket>> for VariablePacketError
[src]
impl From<PacketError<PubcompPacket>> for VariablePacketError
fn from(err: PacketError<PubcompPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<PubcompPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<PingreqPacket>> for VariablePacketError
[src]
impl From<PacketError<PingreqPacket>> for VariablePacketError
fn from(err: PacketError<PingreqPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<PingreqPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<PingrespPacket>> for VariablePacketError
[src]
impl From<PacketError<PingrespPacket>> for VariablePacketError
fn from(err: PacketError<PingrespPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<PingrespPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<SubscribePacket>> for VariablePacketError
[src]
impl From<PacketError<SubscribePacket>> for VariablePacketError
fn from(err: PacketError<SubscribePacket>) -> VariablePacketError
[src]
fn from(err: PacketError<SubscribePacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<SubackPacket>> for VariablePacketError
[src]
impl From<PacketError<SubackPacket>> for VariablePacketError
fn from(err: PacketError<SubackPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<SubackPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<UnsubscribePacket>> for VariablePacketError
[src]
impl From<PacketError<UnsubscribePacket>> for VariablePacketError
fn from(err: PacketError<UnsubscribePacket>) -> VariablePacketError
[src]
fn from(err: PacketError<UnsubscribePacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<UnsubackPacket>> for VariablePacketError
[src]
impl From<PacketError<UnsubackPacket>> for VariablePacketError
fn from(err: PacketError<UnsubackPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<UnsubackPacket>) -> VariablePacketError
Performs the conversion.
impl From<PacketError<DisconnectPacket>> for VariablePacketError
[src]
impl From<PacketError<DisconnectPacket>> for VariablePacketError
fn from(err: PacketError<DisconnectPacket>) -> VariablePacketError
[src]
fn from(err: PacketError<DisconnectPacket>) -> VariablePacketError
Performs the conversion.
impl Display for VariablePacketError
[src]
impl Display for VariablePacketError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for VariablePacketError
[src]
impl Error for VariablePacketError
Auto Trait Implementations
impl Send for VariablePacketError
impl Send for VariablePacketError
impl Sync for VariablePacketError
impl Sync for VariablePacketError