Enum grpcio::Error [−][src]
pub enum Error { Codec(Box<Error + Send + Sync>), CallFailure(GrpcCallStatus), RpcFailure(RpcStatus), RpcFinished(Option<RpcStatus>), RemoteStopped, ShutdownFailed, BindFail(String, u16), QueueShutdown, GoogleAuthenticationFailed, InvalidMetadata(String), }
Variants
Codec(Box<Error + Send + Sync>)
CallFailure(GrpcCallStatus)
RpcFailure(RpcStatus)
RpcFinished(Option<RpcStatus>)
RemoteStopped
ShutdownFailed
BindFail(String, u16)
QueueShutdown
GoogleAuthenticationFailed
InvalidMetadata(String)
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 Display for Error
[src]
impl Display for Error
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<ProtobufError> for Error
[src]
impl From<ProtobufError> for Error
fn from(e: ProtobufError) -> Error
[src]
fn from(e: ProtobufError) -> Error
Performs the conversion.