Enum grpc::Error
[−]
[src]
pub enum Error { Io(Error), Http(Error), GrpcMessage(GrpcMessageError), Canceled(Canceled), MetadataDecode(MetadataDecodeError), Protobuf(ProtobufError), Panic(String), Other(&'static str), }
Variants
Io(Error)
Http(Error)
GrpcMessage(GrpcMessageError)
Canceled(Canceled)
MetadataDecode(MetadataDecodeError)
Protobuf(ProtobufError)
Panic(String)
Other(&'static str)
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<ProtobufError> for Error
[src]
fn from(err: ProtobufError) -> Self
[src]
Performs the conversion.