Enum kudu::MasterErrorCode
[−]
[src]
pub enum MasterErrorCode {
UnknownError,
InvalidSchema,
TableNotFound,
TableAlreadyPresent,
TooManyTablets,
CatalogManagerNotInitialized,
NotTheLeader,
InvalidReplicationFactor,
TabletNotRunning,
}Variants
UnknownErrorAn error which has no more specific error code. The Status code and message may reveal
more details.
InvalidSchemaThe schema provided for a request was not well-formed.
TableNotFoundThe requested table does not exist
TableAlreadyPresentThe name requested for the table is already in use
TooManyTabletsThe number of tablets requested for a new table is over the per TS limit.
CatalogManagerNotInitializedCatalog manager is not yet initialized.
NotTheLeaderThe operation attempted can only be invoked against either the leader or a single non-distributed master, which this node isn't.
InvalidReplicationFactorThe replication factor is invalid, either because it is too low, too high, or an even number.
TabletNotRunningA 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) -> bool1.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: Hasher1.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.