Trait corundum::TxInSafe [−][src]
pub unsafe auto trait TxInSafe { }
Expand description
It is equal to UnwindSafe, but is used to ensure doubly that mutable references cannot go inside a transaction.
Safety
The user can safely specify a type as UnwindSafe
, but TxInSafe
is
unsafe to implement. This warns the programmer that the non-existence
of orphans is not guaranteed anymore.
Implementations on Foreign Types
Implementors
Auto implementors
impl TxInSafe for BuddyAlloc
impl<'a, T> TxInSafe for IterHelper<'a, T> where
T: TxInSafe,
impl<'a, T, A> !TxInSafe for MutexGuard<'a, T, A>
impl<A> !TxInSafe for corundum::stm::vspd::Scratchpad<A>
impl<A> TxInSafe for corundum::stm::pspd::Scratchpad<A> where
A: TxInSafe,
impl<T> TxInSafe for IntoIteratorHelper<T> where
T: TxInSafe,
impl<T, A> !TxInSafe for LogNonNull<T, A>