Enum tarpc::client::RpcError [−][src]
pub enum RpcError {
Disconnected,
DeadlineExceeded,
Server(ServerError),
}
Expand description
An error that can occur in the processing of an RPC. This is not request-specific errors but rather cross-cutting errors that can always occur.
Variants
The client disconnected from the server.
The request exceeded its deadline.
Server(ServerError)
The server aborted request processing.
Tuple Fields of Server
0: ServerError
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RpcError
impl UnwindSafe for RpcError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more