Enum kudu::MasterErrorCode
[−]
[src]
pub enum MasterErrorCode { UnknownError, InvalidSchema, TableNotFound, TableAlreadyPresent, TooManyTablets, CatalogManagerNotInitialized, NotTheLeader, InvalidReplicationFactor, TabletNotRunning, }
Variants
UnknownError
An error which has no more specific error code. The Status
code and message may reveal
more details.
InvalidSchema
The schema provided for a request was not well-formed.
TableNotFound
The requested table does not exist
TableAlreadyPresent
The name requested for the table is already in use
TooManyTablets
The number of tablets requested for a new table is over the per TS limit.
CatalogManagerNotInitialized
Catalog manager is not yet initialized.
NotTheLeader
The operation attempted can only be invoked against either the leader or a single non-distributed master, which this node isn't.
InvalidReplicationFactor
The replication factor is invalid, either because it is too low, too high, or an even number.
TabletNotRunning
A tablet involved in the operation is not running.
Trait Implementations
impl Debug for MasterErrorCode
[src]
impl Clone for MasterErrorCode
[src]
fn clone(&self) -> MasterErrorCode
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 MasterErrorCode
[src]
impl PartialEq for MasterErrorCode
[src]
fn eq(&self, __arg_0: &MasterErrorCode) -> 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 MasterErrorCode
[src]
impl Hash for MasterErrorCode
[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.
impl From<MasterErrorCodePB> for MasterErrorCode
[src]
fn from(error: MasterErrorCodePB) -> MasterErrorCode
Performs the conversion.