Enum corundum::stm::LogEnum [−][src]
pub enum LogEnum { DataLog(u64, u64, usize), DropOnAbort(u64, usize), DropOnCommit(u64, usize), DropOnFailure(u64, usize), RecountOnFailure(u64, bool), UnlockOnCommit(u64), None, }
Expand description
Log Types
Variants
(src, log, len)
: An undo log of slice src..src+len
kept in
log..log+len
.
(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.
(src, len)
: A drop log indicating that slice src..src+len
should drop
on commit, useful for in-transactional drop functions.
(src, len)
: A drop log indicating that slice src..src+len
should drop
on failure, useful for high-level allocation.
(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.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V