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]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
impl StdError for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
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]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<ProtobufError> for Error
[src]
impl From<ProtobufError> for Error
fn from(err: ProtobufError) -> Self
[src]
fn from(err: ProtobufError) -> Self
Performs the conversion.
impl From<Canceled> for Error
[src]
impl From<Canceled> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error