Enum kudu::RpcErrorCode
[−]
[src]
pub enum RpcErrorCode { ApplicationError, NoSuchMethod, NoSuchService, ServerTooBusy, InvalidRequest, StaleRequest, FatalUnknown, FatalServerShuttingDown, FatalInvalidRpcHeader, FatalDeserializingRequest, FatalVersionMismatch, FatalUnauthorized, }
Variants
ApplicationError
The application generated an error status. See the message field for more details.
NoSuchMethod
The specified method was not valid.
NoSuchService
The specified service was not valid.
ServerTooBusy
The server is overloaded - the client should try again shortly.
InvalidRequest
The request parameter was not parseable, was missing required fields, or the server does not support the required feature flags.
StaleRequest
The server might have previously received this request but its response is no longer cached. It's unknown whether the request was executed or not.
FatalUnknown
FatalServerShuttingDown
The RPC server is already shutting down.
FatalInvalidRpcHeader
Fields of RpcHeader are invalid.
FatalDeserializingRequest
Could not deserialize RPC request.
FatalVersionMismatch
IPC Layer version mismatch.
Auth failed.
Trait Implementations
impl Debug for RpcErrorCode
[src]
impl Clone for RpcErrorCode
[src]
fn clone(&self) -> RpcErrorCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for RpcErrorCode
[src]
impl PartialEq for RpcErrorCode
[src]
fn eq(&self, __arg_0: &RpcErrorCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for RpcErrorCode
[src]
impl Hash for RpcErrorCode
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.