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 PacketTypeError
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 Display for PacketTypeError
[src]
impl Display for PacketTypeError
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 PacketTypeError
[src]
impl Error for PacketTypeError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This 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 FixedHeaderError
fn from(err: PacketTypeError) -> FixedHeaderError
[src]
fn from(err: PacketTypeError) -> FixedHeaderError
Performs the conversion.
Auto Trait Implementations
impl Send for PacketTypeError
impl Send for PacketTypeError
impl Sync for PacketTypeError
impl Sync for PacketTypeError