[][src]Enum crndm::stm::LogEnum

pub enum LogEnum {
    DataLog(u64u64usize),
    DropOnAbort(u64usize),
    DropOnCommit(u64usize),
    DropOnFailure(u64usize),
    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.

UnlockOnCommit(u64)

Unlocks a Mutex on transaction commit.

None

Trait Implementations

impl Clone for LogEnum[src]

impl Copy for LogEnum[src]

impl Debug for LogEnum[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.

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