Struct nebula_fbthrift_raftex_v2::types::ErrorCode
source · pub struct ErrorCode(pub i32);
Tuple Fields§
§0: i32
Implementations§
source§impl ErrorCode
impl ErrorCode
pub const SUCCEEDED: Self = _
pub const E_LOG_GAP: Self = _
pub const E_LOG_STALE: Self = _
pub const E_MISSING_COMMIT: Self = _
pub const E_WAITING_SNAPSHOT: Self = _
pub const E_UNKNOWN_PART: Self = _
pub const E_TERM_OUT_OF_DATE: Self = _
pub const E_LAST_LOG_TERM_TOO_OLD: Self = _
pub const E_BAD_STATE: Self = _
pub const E_WRONG_LEADER: Self = _
pub const E_WAL_FAIL: Self = _
pub const E_NOT_READY: Self = _
pub const E_HOST_STOPPED: Self = _
pub const E_NOT_A_LEADER: Self = _
pub const E_HOST_DISCONNECTED: Self = _
pub const E_TOO_MANY_REQUESTS: Self = _
pub const E_PERSIST_SNAPSHOT_FAILED: Self = _
pub const E_BAD_ROLE: Self = _
pub const E_EXCEPTION: Self = _
Trait Implementations§
source§impl<P> Deserialize<P> for ErrorCodewhere
P: ProtocolReader,
impl<P> Deserialize<P> for ErrorCodewhere
P: ProtocolReader,
source§impl Ord for ErrorCode
impl Ord for ErrorCode
source§impl PartialEq<ErrorCode> for ErrorCode
impl PartialEq<ErrorCode> for ErrorCode
source§impl PartialOrd<ErrorCode> for ErrorCode
impl PartialOrd<ErrorCode> for ErrorCode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more