Enum mqtt::encodable::StringEncodeError [] [src]

pub enum StringEncodeError {
    IoError(Error),
    FromUtf8Error(FromUtf8Error),
    MalformedData,
}

Variants

IoError(Error)FromUtf8Error(FromUtf8Error)MalformedData

Trait Implementations

impl Debug for StringEncodeError
[src]

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

Formats the value using the given formatter.

impl Display for StringEncodeError
[src]

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

Formats the value using the given formatter.

impl Error for StringEncodeError
[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

impl From<Error> for StringEncodeError
[src]

fn from(err: Error) -> StringEncodeError

Performs the conversion.

impl From<Error> for StringEncodeError
[src]

fn from(err: Error) -> StringEncodeError

Performs the conversion.

impl From<FromUtf8Error> for StringEncodeError
[src]

fn from(err: FromUtf8Error) -> StringEncodeError

Performs the conversion.