Enum grpcio::Error[][src]

pub enum Error {
    Codec(Box<Error + Send + Sync>),
    CallFailure(GrpcCallStatus),
    RpcFailure(RpcStatus),
    RpcFinished(Option<RpcStatus>),
    RemoteStopped,
    ShutdownFailed,
    BindFail(Stringu16),
    QueueShutdown,
    GoogleAuthenticationFailed,
    InvalidMetadata(String),
}

Errors generated from this library.

Variants

Codec error.

Failed to start an internal async call.

Rpc request fail.

Try to write to a finished rpc call.

Remote is stopped.

Failed to shutdown.

Failed to bind.

gRPC completion queue is shutdown.

Failed to create Google default credentials.

Invalid format of metadata.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<ProtobufError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error