Enum optimistic_lock_coupling::OptimisticLockCouplingErrorType[][src]

pub enum OptimisticLockCouplingErrorType {
    Poisoned,
    Outdated,
    Blocked,
    VersionUpdated,
}

Error types

Variants

Poisoned

writer thread panics without release the lock

Outdated

writer thread set this data is outdated

Blocked

writer thread blocks the reader thread

VersionUpdated

reader thead try to sync after writer thread write things into lock

Trait Implementations

impl Clone for OptimisticLockCouplingErrorType[src]

impl Copy for OptimisticLockCouplingErrorType[src]

impl Debug for OptimisticLockCouplingErrorType[src]

impl Eq for OptimisticLockCouplingErrorType[src]

impl PartialEq<OptimisticLockCouplingErrorType> for OptimisticLockCouplingErrorType[src]

impl StructuralEq for OptimisticLockCouplingErrorType[src]

impl StructuralPartialEq for OptimisticLockCouplingErrorType[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, 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.