Enum grpc_rust::error::Error
[−]
[src]
pub enum Error { CryptoKeyError(String), FileNameError, InvalidTomlError(String), IO(Error), JsonDecode(DecoderError), JsonEncode(EncoderError), StrFromUtf8Error(Utf8Error), StringFromUtf8Error(FromUtf8Error), WireDecode(String), }
Variants
CryptoKeyError(String)
FileNameError
InvalidTomlError(String)
IO(Error)
Occurs when making lower level IO calls.
JsonDecode(DecoderError)
JsonEncode(EncoderError)
StrFromUtf8Error(Utf8Error)
StringFromUtf8Error(FromUtf8Error)
WireDecode(String)
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
[src]
impl From<DecoderError> for Error
[src]
fn from(err: DecoderError) -> Self
Performs the conversion.
impl From<EncoderError> for Error
[src]
fn from(err: EncoderError) -> Self
Performs the conversion.
impl From<Utf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Self
Performs the conversion.