Enum mqtt3::Error [] [src]

pub enum Error {
    IncorrectPacketFormat,
    InvalidTopicPath,
    UnsupportedProtocolName,
    UnsupportedProtocolVersion,
    UnsupportedQualityOfService,
    UnsupportedPacketType,
    UnsupportedConnectReturnCode,
    PayloadSizeIncorrect,
    PayloadTooLong,
    PayloadRequired,
    TopicNameMustNotContainWildcard,
    MalformedRemainingLength,
    UnexpectedEof,
    Io(Error),
}

Variants

IncorrectPacketFormatInvalidTopicPathUnsupportedProtocolNameUnsupportedProtocolVersionUnsupportedQualityOfServiceUnsupportedPacketTypeUnsupportedConnectReturnCodePayloadSizeIncorrectPayloadTooLongPayloadRequiredTopicNameMustNotContainWildcardMalformedRemainingLengthUnexpectedEofIo(Error)

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.

impl From<Error> for Error
[src]

fn from(err: Error) -> Error

Performs the conversion.