pub enum Error {
IncorrectPacketFormat,
InvalidTopicPath,
UnsupportedProtocolName,
UnsupportedProtocolVersion,
UnsupportedQualityOfService,
UnsupportedPacketType,
UnsupportedConnectReturnCode,
PayloadSizeIncorrect,
PayloadTooLong,
PayloadRequired,
TopicNameMustNotContainWildcard,
MalformedRemainingLength,
UnexpectedEof,
Io(Error),
}
Variants
IncorrectPacketFormat
InvalidTopicPath
UnsupportedProtocolName
UnsupportedProtocolVersion
UnsupportedQualityOfService
UnsupportedPacketType
UnsupportedConnectReturnCode
PayloadSizeIncorrect
PayloadTooLong
PayloadRequired
TopicNameMustNotContainWildcard
MalformedRemainingLength
UnexpectedEof
Io(Error)
Trait Implementations
Formats the value using the given formatter.