pub struct PreparedUnit { /* private fields */ }Expand description
Everything UnitOfWork::prepare worked out, carried from there to UnitOfWork::journal
and on to apply_prepared. Owns its lines, so it can be held across the release of whatever
lock guarded the tables it was prepared against — but only if that release keeps the caller the
sole writer, since the _seq numbers inside it are already burned and a write that slipped in
between would land ahead of them in the log.
Implementations§
Auto Trait Implementations§
impl Freeze for PreparedUnit
impl RefUnwindSafe for PreparedUnit
impl Send for PreparedUnit
impl Sync for PreparedUnit
impl Unpin for PreparedUnit
impl UnsafeUnpin for PreparedUnit
impl UnwindSafe for PreparedUnit
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