Enum mqtt::control::packet_type::PacketTypeError [−][src]
pub enum PacketTypeError {
ReservedType(u8, u8),
UndefinedType(u8, u8),
InvalidFlag(ControlType, u8),
}Parsing packet type errors
Variants
ReservedType(u8, u8)UndefinedType(u8, u8)InvalidFlag(ControlType, u8)
Trait Implementations
impl Debug for PacketTypeError[src]
impl Debug for PacketTypeErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for PacketTypeError[src]
impl Display for PacketTypeErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for PacketTypeError[src]
impl Error for PacketTypeErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<PacketTypeError> for FixedHeaderError[src]
impl From<PacketTypeError> for FixedHeaderErrorfn from(err: PacketTypeError) -> FixedHeaderError[src]
fn from(err: PacketTypeError) -> FixedHeaderErrorPerforms the conversion.
Auto Trait Implementations
impl Send for PacketTypeError
impl Send for PacketTypeErrorimpl Sync for PacketTypeError
impl Sync for PacketTypeError