Enum rust_cast::errors::Error
[−]
[src]
pub enum Error { Internal(String), Io(IoError), Protobuf(ProtobufError), Serialization(SerializationError), Ssl(SslError), }
Consolidates possible error types that can occur in the lib.
Variants
Internal(String)
This variant is used when error occurs in the lib logic.
Io(IoError)
This variant includes everything related to the network connection.
Protobuf(ProtobufError)
This variant includes all possible errors that come from Protobuf layer.
Serialization(SerializationError)
This variant includes everything related to (de)serialization of incoming and outgoing messages.
Ssl(SslError)
This variant includes any error that comes from OpenSSL.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more