#[non_exhaustive]pub struct RangeKey<'a> { /* private fields */ }Expand description
One endpoint of a range scan, mirroring the relevant fields of MySQL’s
key_range. The shim resolves the original key_part_map to the leading
key bytes before crossing the FFI boundary, so key is already
length-resolved; the borrow may not be retained past the callback that
supplied it.
A range endpoint is optional at the call site — MySQL passes a null
key_range for an open-ended bound — so the trait methods receive an
Option<RangeKey<'_>> and None denotes “no bound on this side”.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RangeKey<'a>
impl<'a> RefUnwindSafe for RangeKey<'a>
impl<'a> Send for RangeKey<'a>
impl<'a> Sync for RangeKey<'a>
impl<'a> Unpin for RangeKey<'a>
impl<'a> UnsafeUnpin for RangeKey<'a>
impl<'a> UnwindSafe for RangeKey<'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