Enum mqtt::control::fixed_header::FixedHeaderError [−][src]
pub enum FixedHeaderError {
MalformedRemainingLength,
Unrecognized(u8, u32),
ReservedType(u8, u32),
PacketTypeError(PacketTypeError),
IoError(Error),
}Variants
MalformedRemainingLengthUnrecognized(u8, u32)ReservedType(u8, u32)PacketTypeError(PacketTypeError)IoError(Error)
Trait Implementations
impl Debug for FixedHeaderError[src]
impl Debug for FixedHeaderErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for FixedHeaderError[src]
impl From<Error> for FixedHeaderErrorfn from(err: Error) -> FixedHeaderError[src]
fn from(err: Error) -> FixedHeaderErrorPerforms the conversion.
impl From<PacketTypeError> for FixedHeaderError[src]
impl From<PacketTypeError> for FixedHeaderErrorfn from(err: PacketTypeError) -> FixedHeaderError[src]
fn from(err: PacketTypeError) -> FixedHeaderErrorPerforms the conversion.
impl Display for FixedHeaderError[src]
impl Display for FixedHeaderErrorfn 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 FixedHeaderError[src]
impl Error for FixedHeaderErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl<T: Packet> From<FixedHeaderError> for PacketError<T>[src]
impl<T: Packet> From<FixedHeaderError> for PacketError<T>fn from(err: FixedHeaderError) -> PacketError<T>[src]
fn from(err: FixedHeaderError) -> PacketError<T>Performs the conversion.
impl From<FixedHeaderError> for VariablePacketError[src]
impl From<FixedHeaderError> for VariablePacketErrorfn from(err: FixedHeaderError) -> VariablePacketError[src]
fn from(err: FixedHeaderError) -> VariablePacketErrorPerforms the conversion.
Auto Trait Implementations
impl Send for FixedHeaderError
impl Send for FixedHeaderErrorimpl Sync for FixedHeaderError
impl Sync for FixedHeaderError