pub struct PrefixProber<'a, D: DBAccess> { /* private fields */ }Expand description
A reusable prefix probe that avoids per-call iterator creation/destruction.
Use this when performing many prefix existence checks in a tight loop.
Implementations§
Auto Trait Implementations§
impl<'a, D> Freeze for PrefixProber<'a, D>
impl<'a, D> RefUnwindSafe for PrefixProber<'a, D>where
D: RefUnwindSafe,
impl<'a, D> Send for PrefixProber<'a, D>
impl<'a, D> Sync for PrefixProber<'a, D>
impl<'a, D> Unpin for PrefixProber<'a, D>
impl<'a, D> UnwindSafe for PrefixProber<'a, D>where
D: RefUnwindSafe,
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