Enum kudu::RpcErrorCode
[−]
[src]
pub enum RpcErrorCode {
ApplicationError,
NoSuchMethod,
NoSuchService,
ServerTooBusy,
InvalidRequest,
StaleRequest,
FatalUnknown,
FatalServerShuttingDown,
FatalInvalidRpcHeader,
FatalDeserializingRequest,
FatalVersionMismatch,
FatalUnauthorized,
}Variants
ApplicationErrorThe application generated an error status. See the message field for more details.
NoSuchMethodThe specified method was not valid.
NoSuchServiceThe specified service was not valid.
ServerTooBusyThe server is overloaded - the client should try again shortly.
InvalidRequestThe request parameter was not parseable, was missing required fields, or the server does not support the required feature flags.
StaleRequestThe server might have previously received this request but its response is no longer cached. It's unknown whether the request was executed or not.
FatalUnknownFatalServerShuttingDownThe RPC server is already shutting down.
FatalInvalidRpcHeaderFields of RpcHeader are invalid.
FatalDeserializingRequestCould not deserialize RPC request.
FatalVersionMismatchIPC 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) -> bool1.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: Hasher1.3.0
Feeds a slice of this type into the state provided.