pub enum Error {
Codec(Box<dyn Error + Send + Sync>),
CallFailure(GrpcCallStatus),
RpcFailure(RpcStatus),
RpcFinished(Option<RpcStatus>),
RemoteStopped,
ShutdownFailed,
BindFail(String, u16),
QueueShutdown,
GoogleAuthenticationFailed,
InvalidMetadata(String),
}
Errors generated from this library.
Failed to start an internal async call.
Try to write to a finished rpc call.
gRPC completion queue is shutdown.
Failed to create Google default credentials.
Invalid format of metadata.
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
The lower-level source of this error, if any. Read more
Converts the given value to a String
. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static