pub struct Locked<'a, S: Store>(&'a mut Journal<S>);Expand description
A journal handle with the store lock held (see Journal::locked).
Tuple Fields§
§0: &'a mut Journal<S>Implementations§
Auto Trait Implementations§
impl<'a, S> Freeze for Locked<'a, S>
impl<'a, S> RefUnwindSafe for Locked<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for Locked<'a, S>where
S: Send,
impl<'a, S> Sync for Locked<'a, S>where
S: Sync,
impl<'a, S> Unpin for Locked<'a, S>
impl<'a, S> UnsafeUnpin for Locked<'a, S>
impl<'a, S> !UnwindSafe for Locked<'a, S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more