Enum corundum::stm::LogEnum[][src]

pub enum LogEnum {
    DataLog(u64u64usize),
    DropOnAbort(u64usize),
    DropOnCommit(u64usize),
    DropOnFailure(u64usize),
    RecountOnFailure(u64bool),
    UnlockOnCommit(u64),
    None,
}

Log Types

Variants

DataLog(u64u64usize)

(src, log, len): An undo log of slice src..src+len kept in log..log+len.

DropOnAbort(u64usize)

(u64, usize): Similar to DropOnFailure except that it drops the allocation when the high-level transaction is aborted. This is useful for temporarily unowned allocations, such as slices, because they are not deallocated via RAII.

DropOnCommit(u64usize)

(src, len): A drop log indicating that slice src..src+len should drop on commit, useful for in-transactional drop functions.

DropOnFailure(u64usize)

(src, len): A drop log indicating that slice src..src+len should drop on failure, useful for high-level allocation.

RecountOnFailure(u64bool)

(src, inc/dec): A log indicating that the object is a counter and should increment/decrement on failure.

UnlockOnCommit(u64)

Unlocks a PMutex on transaction commit.

None

Trait Implementations

impl Clone for LogEnum[src]

impl Copy for LogEnum[src]

impl Debug for LogEnum[src]

impl Eq for LogEnum[src]

impl Hash for LogEnum[src]

impl PartialEq<LogEnum> for LogEnum[src]

impl<A: MemPool> PartialEq<LogEnum> for Log<A>[src]

impl StructuralEq for LogEnum[src]

impl StructuralPartialEq for LogEnum[src]

Auto Trait Implementations

impl LooseTxInUnsafe for LogEnum

impl PSafe for LogEnum

impl PSend for LogEnum

impl RefUnwindSafe for LogEnum

impl Send for LogEnum

impl Sync for LogEnum

impl TxInSafe for LogEnum

impl TxOutSafe for LogEnum

impl Unpin for LogEnum

impl UnwindSafe for LogEnum

impl VSafe for LogEnum

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.

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