Struct nebula_fbthrift_raftex_v2::types::ErrorCode[][src]

pub struct ErrorCode(pub i32);

Implementations

impl ErrorCode[src]

pub const SUCCEEDED: Self[src]

pub const E_LOG_GAP: Self[src]

pub const E_LOG_STALE: Self[src]

pub const E_MISSING_COMMIT: Self[src]

pub const E_WAITING_SNAPSHOT: Self[src]

pub const E_UNKNOWN_PART: Self[src]

pub const E_TERM_OUT_OF_DATE: Self[src]

pub const E_LAST_LOG_TERM_TOO_OLD: Self[src]

pub const E_BAD_STATE: Self[src]

pub const E_WRONG_LEADER: Self[src]

pub const E_WAL_FAIL: Self[src]

pub const E_NOT_READY: Self[src]

pub const E_HOST_STOPPED: Self[src]

pub const E_NOT_A_LEADER: Self[src]

pub const E_HOST_DISCONNECTED: Self[src]

pub const E_TOO_MANY_REQUESTS: Self[src]

pub const E_PERSIST_SNAPSHOT_FAILED: Self[src]

pub const E_BAD_ROLE: Self[src]

pub const E_EXCEPTION: Self[src]

Trait Implementations

impl Clone for ErrorCode[src]

impl Copy for ErrorCode[src]

impl Debug for ErrorCode[src]

impl Default for ErrorCode[src]

impl<P> Deserialize<P> for ErrorCode where
    P: ProtocolReader
[src]

impl Display for ErrorCode[src]

impl Eq for ErrorCode[src]

impl From<i32> for ErrorCode[src]

impl FromStr for ErrorCode[src]

type Err = Error

The associated error which can be returned from parsing.

impl GetTType for ErrorCode[src]

impl Hash for ErrorCode[src]

impl Ord for ErrorCode[src]

impl PartialEq<ErrorCode> for ErrorCode[src]

impl PartialOrd<ErrorCode> for ErrorCode[src]

impl<P> Serialize<P> for ErrorCode where
    P: ProtocolWriter
[src]

impl StructuralEq for ErrorCode[src]

impl StructuralPartialEq for ErrorCode[src]

impl ThriftEnum for ErrorCode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.