Enum BatchCall
#[non_exhaustive]pub enum BatchCall {
Begin(u64),
Commit(u64),
Reset(u64),
Rollback(u64),
Dropped(u64),
Marked(u64),
}Available on crate feature
memory only.Expand description
One thing that happened to a write set, by the serial begin gave it.
Serials count up from zero across the whole store, one per successful
begin, so two write sets never share one.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Begin(u64)
begin opened it.
Commit(u64)
commit was called with it, whether or not the commit succeeded.
Reset(u64)
reset was called with it.
Rollback(u64)
rollback was called with it.
Dropped(u64)
It was dropped without any of the calls above.
Marked(u64)
The code holding it called RecordingBatch::mark.
Implementations§
Trait Implementations§
impl Copy for BatchCall
impl Eq for BatchCall
impl StructuralPartialEq for BatchCall
Auto Trait Implementations§
impl Freeze for BatchCall
impl RefUnwindSafe for BatchCall
impl Send for BatchCall
impl Sync for BatchCall
impl Unpin for BatchCall
impl UnsafeUnpin for BatchCall
impl UnwindSafe for BatchCall
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