Struct concread::ebrcell::EbrCellWriteTxn
source · [−]Expand description
An EbrCell
Write Transaction handle.
This allows mutation of the content of the EbrCell
without blocking or
affecting current readers.
Changes are only stored in the structure until you call commit: to
abort a change, don’t call commit and allow the write transaction to
go out of scope. This causes the EbrCell
to unlock allowing other
writes to proceed.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for EbrCellWriteTxn<'a, T> where
T: RefUnwindSafe,
impl<'a, T> !Send for EbrCellWriteTxn<'a, T>
impl<'a, T> Sync for EbrCellWriteTxn<'a, T>
impl<'a, T> Unpin for EbrCellWriteTxn<'a, T> where
T: Unpin,
impl<'a, T> UnwindSafe for EbrCellWriteTxn<'a, T> where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more