pub struct ConflictRange { /* private fields */ }Expand description
A key range reported by one of the conflict-range special keyspaces.
Returned by Transaction::conflicting_keys (the ranges that made a commit
fail), Transaction::read_conflict_ranges and
Transaction::write_conflict_ranges (the ranges the transaction has
accumulated so far).
Those keyspaces all encode ranges using boundary markers:
- Value
b"1"marks the inclusive start of a range - Value
b"0"marks the exclusive end of a range
Implementations§
Trait Implementations§
Source§impl Clone for ConflictRange
impl Clone for ConflictRange
Source§fn clone(&self) -> ConflictRange
fn clone(&self) -> ConflictRange
Returns a copy 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 ConflictRange
impl Debug for ConflictRange
Source§impl Display for ConflictRange
impl Display for ConflictRange
Source§impl Hash for ConflictRange
impl Hash for ConflictRange
Source§impl PartialEq for ConflictRange
impl PartialEq for ConflictRange
impl Eq for ConflictRange
impl StructuralPartialEq for ConflictRange
Auto Trait Implementations§
impl Freeze for ConflictRange
impl RefUnwindSafe for ConflictRange
impl Send for ConflictRange
impl Sync for ConflictRange
impl Unpin for ConflictRange
impl UnwindSafe for ConflictRange
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