pub struct ConflictingKeyRange { /* private fields */ }Expand description
A key range that conflicted during a transaction commit.
Returned by Transaction::conflicting_keys after a commit conflict
when TransactionOption::ReportConflictingKeys
is enabled.
The special keyspace encodes conflicting ranges using boundary markers:
- Value
b"1"marks the inclusive start of a conflicting range - Value
b"0"marks the exclusive end of a conflicting range
Implementations§
Trait Implementations§
Source§impl Clone for ConflictingKeyRange
impl Clone for ConflictingKeyRange
Source§fn clone(&self) -> ConflictingKeyRange
fn clone(&self) -> ConflictingKeyRange
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 moreSource§impl Debug for ConflictingKeyRange
impl Debug for ConflictingKeyRange
Source§impl Display for ConflictingKeyRange
impl Display for ConflictingKeyRange
Source§impl Hash for ConflictingKeyRange
impl Hash for ConflictingKeyRange
Source§impl PartialEq for ConflictingKeyRange
impl PartialEq for ConflictingKeyRange
impl Eq for ConflictingKeyRange
impl StructuralPartialEq for ConflictingKeyRange
Auto Trait Implementations§
impl Freeze for ConflictingKeyRange
impl RefUnwindSafe for ConflictingKeyRange
impl Send for ConflictingKeyRange
impl Sync for ConflictingKeyRange
impl Unpin for ConflictingKeyRange
impl UnwindSafe for ConflictingKeyRange
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