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, }
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
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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<LogEnum> for LogEnum
[src]
impl<A: MemPool> PartialEq<LogEnum> for Log<A>
[src]
fn eq(&self, other: &LogEnum) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,