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), }
Errors generated from this library.
Variants
Codec(Box<Error + Send + Sync>)
Codec error.
CallFailure(GrpcCallStatus)
Failed to start an internal async call.
RpcFailure(RpcStatus)
Rpc request fail.
RpcFinished(Option<RpcStatus>)
Try to write to a finished rpc call.
RemoteStopped
Remote is stopped.
ShutdownFailed
Failed to shutdown.
BindFail(String, u16)
Failed to bind.
QueueShutdown
gRPC completion queue is shutdown.
GoogleAuthenticationFailed
Failed to create Google default credentials.
InvalidMetadata(String)
Invalid format of metadata.
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.