[][src]Struct foundationdb::FdbError

pub struct FdbError { /* fields omitted */ }

The Standard Error type of FoundationDB

Implementations

impl FdbError[src]

pub fn from_code(error_code: fdb_error_t) -> Self[src]

Converts from a raw foundationDB error code

pub fn message(self) -> &'static str[src]

pub fn is_maybe_committed(self) -> bool[src]

Indicates the transaction may have succeeded, though not in a way the system can verify.

pub fn is_retryable(self) -> bool[src]

Indicates the operations in the transactions should be retried because of transient error.

pub fn is_retryable_not_committed(self) -> bool[src]

Indicates the transaction has not committed, though in a way that can be retried.

pub fn code(self) -> i32[src]

Raw foundationdb error code

Trait Implementations

impl Clone for FdbError[src]

impl Copy for FdbError[src]

impl Debug for FdbError[src]

impl Display for FdbError[src]

impl Error for FdbError[src]

impl From<FdbError> for HcaError[src]

impl From<TransactionCommitError> for FdbError[src]

impl TransactError for FdbError[src]

Auto Trait Implementations

impl RefUnwindSafe for FdbError

impl Send for FdbError

impl Sync for FdbError

impl Unpin for FdbError

impl UnwindSafe for FdbError

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,