Enum mqtt::packet::subscribe::SubscribePacketPayloadError [] [src]

pub enum SubscribePacketPayloadError {
    IoError(Error),
    FromUtf8Error(FromUtf8Error),
    StringEncodeError(StringEncodeError),
    InvalidQualityOfService,
    TopicFilterError(TopicFilterError),
}

Variants

IoError(Error)FromUtf8Error(FromUtf8Error)StringEncodeError(StringEncodeError)InvalidQualityOfServiceTopicFilterError(TopicFilterError)

Trait Implementations

impl Debug for SubscribePacketPayloadError
[src]

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

Formats the value using the given formatter.

impl Display for SubscribePacketPayloadError
[src]

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

Formats the value using the given formatter.

impl Error for SubscribePacketPayloadError
[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<TopicFilterError> for SubscribePacketPayloadError
[src]

fn from(err: TopicFilterError) -> SubscribePacketPayloadError

Performs the conversion.

impl From<StringEncodeError> for SubscribePacketPayloadError
[src]

fn from(err: StringEncodeError) -> SubscribePacketPayloadError

Performs the conversion.

impl From<Error> for SubscribePacketPayloadError
[src]

fn from(err: Error) -> SubscribePacketPayloadError

Performs the conversion.