pub struct CommitGuard {
pub marker: CommitMarker,
}Expand description
CommitGuard
In-flight commit handle that clears the marker on completion. Must not be leaked across mutation boundaries.
Fields§
§marker: CommitMarkerTrait Implementations§
Source§impl Clone for CommitGuard
impl Clone for CommitGuard
Source§fn clone(&self) -> CommitGuard
fn clone(&self) -> CommitGuard
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CommitGuard
impl RefUnwindSafe for CommitGuard
impl Send for CommitGuard
impl Sync for CommitGuard
impl Unpin for CommitGuard
impl UnsafeUnpin for CommitGuard
impl UnwindSafe for CommitGuard
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