Enum mqtt::control::variable_header::VariableHeaderError [] [src]

pub enum VariableHeaderError {
    IoError(Error),
    StringEncodeError(StringEncodeError),
    InvalidReservedFlag,
    FromUtf8Error(FromUtf8Error),
    TopicNameError(TopicNameError),
}

Variants

IoError(Error)StringEncodeError(StringEncodeError)InvalidReservedFlagFromUtf8Error(FromUtf8Error)TopicNameError(TopicNameError)

Trait Implementations

impl Debug for VariableHeaderError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for VariableHeaderError
[src]

fn from(err: Error) -> VariableHeaderError

Performs the conversion.

impl From<Error> for VariableHeaderError
[src]

fn from(err: Error) -> VariableHeaderError

Performs the conversion.

impl From<FromUtf8Error> for VariableHeaderError
[src]

fn from(err: FromUtf8Error) -> VariableHeaderError

Performs the conversion.

impl From<StringEncodeError> for VariableHeaderError
[src]

fn from(err: StringEncodeError) -> VariableHeaderError

Performs the conversion.

impl From<TopicNameError> for VariableHeaderError
[src]

fn from(err: TopicNameError) -> VariableHeaderError

Performs the conversion.

impl Display for VariableHeaderError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for VariableHeaderError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more