Enum rumqtt::Error []

pub enum Error {
    Io(Error),
    TrySend(TrySendError<NetworkRequest>),
    TryRecv(TryRecvError),
    Send(SendError<NetworkRequest>),
    TopicName(TopicNameError),
    TopicFilter(TopicFilterError),
    ConnectionAbort,
    HandshakeFailed,
    InvalidState,
    InvalidPacket,
    Packet,
    MqttPacket,
    PingTimeout,
    AwaitPingResp,
    Ssl(ErrorStack),
    Handshake(HandshakeError<TcpStream>),
    ConnectionRefused(ConnectReturnCode),
}

Variants

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

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

impl From<Error> for Error

Performs the conversion.

impl From<TrySendError<NetworkRequest>> for Error

Performs the conversion.

impl From<TryRecvError> for Error

Performs the conversion.

impl From<SendError<NetworkRequest>> for Error

Performs the conversion.

impl From<TopicNameError> for Error

Performs the conversion.

impl From<TopicFilterError> for Error

Performs the conversion.

impl From<ErrorStack> for Error

Performs the conversion.

impl From<HandshakeError<TcpStream>> for Error

Performs the conversion.

impl<'a, P: Packet<'a>> From<PacketError<'a, P>> for Error
[src]

Performs the conversion.