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

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

Errors while parsing to a string

Variants

Trait Implementations

impl From<StringEncodeError> for VariableHeaderError
[src]

Performs the conversion.

impl From<StringEncodeError> for ConnectPacketPayloadError
[src]

Performs the conversion.

impl From<StringEncodeError> for SubscribePacketPayloadError
[src]

Performs the conversion.

impl From<StringEncodeError> for UnsubscribePacketPayloadError
[src]

Performs the conversion.

impl<T: Packet> From<StringEncodeError> for PacketError<T>
[src]

Performs the conversion.

impl Debug for StringEncodeError
[src]

Formats the value using the given formatter. Read more

impl Display for StringEncodeError
[src]

Formats the value using the given formatter. Read more

impl Error for StringEncodeError
[src]

This method is soft-deprecated. Read more

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

impl From<Error> for StringEncodeError
[src]

Performs the conversion.

impl From<FromUtf8Error> for StringEncodeError
[src]

Performs the conversion.

Auto Trait Implementations