Enum kudu::Error
[−]
[src]
pub enum Error { InvalidArgument(String), Rpc(RpcError), Master(MasterError), TabletServer(TabletServerError), Io(Error), Serialization(String), VersionMismatch(String), Backoff, TimedOut, Cancelled, ConnectionError, NegotiationError(&'static str), NoRangePartition, }
Variants
InvalidArgument(String)
The operation failed because of an invalid argument.
Rpc(RpcError)
A Kudu RPC error.
Master(MasterError)
A Kudu Master error.
TabletServer(TabletServerError)
A Kudu tablet server error.
Io(Error)
An I/O error.
Serialization(String)
An error serializing, deserializing, encoding, or decoding data.
VersionMismatch(String)
An error due to a version mismatch between the client and server.
Backoff
The send queue is full.
TimedOut
The operation timed out. Includes zero or more errors which resulted in retries.
Cancelled
The operation was cancelled.
ConnectionError
The connection encountered an error or hangup.
NegotiationError(&'static str)
NoRangePartition
An operation failed because the range partition did not exist.
Methods
impl Error
[src]
fn is_network_error(&self) -> bool
Trait Implementations
impl Debug for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
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 PartialEq for Error
[src]
fn eq(&self, other: &Error) -> 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 Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<RpcError> for Error
[src]
impl From<MasterError> for Error
[src]
fn from(error: MasterError) -> Error
Performs the conversion.
impl From<TabletServerError> for Error
[src]
fn from(error: TabletServerError) -> Error
Performs the conversion.
impl From<Error> for Error
[src]
impl From<ProtobufError> for Error
[src]
fn from(error: ProtobufError) -> Error
Performs the conversion.
impl From<Utf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(error: FromUtf8Error) -> Error
Performs the conversion.