Enum netapp::error::Error [−][src]
pub enum Error {
Io(Error),
RMPEncode(Error),
RMPDecode(Error),
TokioJoin(JoinError),
OneshotRecv(RecvError),
Handshake(Error),
UTF8(FromUtf8Error),
Message(String),
NoHandler,
ConnectionClosed,
Remote(String),
}
Variants
Io(Error)
Tuple Fields of Io
0: Error
RMPEncode(Error)
Tuple Fields of RMPEncode
0: Error
RMPDecode(Error)
Tuple Fields of RMPDecode
0: Error
TokioJoin(JoinError)
Tuple Fields of TokioJoin
0: JoinError
OneshotRecv(RecvError)
Tuple Fields of OneshotRecv
0: RecvError
Handshake(Error)
Tuple Fields of Handshake
0: Error
UTF8(FromUtf8Error)
Tuple Fields of UTF8
Message(String)
Tuple Fields of Message
0: String
Remote(String)
Tuple Fields of Remote
0: String
Implementations
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.