pub struct SubsetCommit<'a> { /* private fields */ }Expand description
An exclusively borrowed commit, validated before any caller acquires a lock.
Dropping it without committing leaves the original stream unchanged.
commit does not allocate, deallocate, build/drop a Value or invoke a callback.
Implementations§
Source§impl SubsetCommit<'_>
impl SubsetCommit<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SubsetCommit<'a>
impl<'a> !UnwindSafe for SubsetCommit<'a>
impl<'a> Forget for SubsetCommit<'a>
impl<'a> Freeze for SubsetCommit<'a>
impl<'a> Move for SubsetCommit<'a>
impl<'a> Send for SubsetCommit<'a>
impl<'a> Sync for SubsetCommit<'a>
impl<'a> Unpin for SubsetCommit<'a>
impl<'a> UnsafeUnpin for SubsetCommit<'a>
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