Enum yottadb::TransactionStatus[][src]

pub enum TransactionStatus {
    Ok,
    Restart,
    Rollback,
}

The status returned from a callback passed to Context::tp

Variants

Ok

Complete the transaction and commit all changes

Restart

Undo changes specified in locals_to_reset, then restart the transaction

Rollback

Abort the transaction and undo all changes

Trait Implementations

impl Clone for TransactionStatus[src]

impl Copy for TransactionStatus[src]

impl Debug for TransactionStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for TransactionStatus[src]

impl Send for TransactionStatus[src]

impl Sync for TransactionStatus[src]

impl Unpin for TransactionStatus[src]

impl UnwindSafe for TransactionStatus[src]

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, 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.