pub struct BoundedKeyPolicy<'a> { /* private fields */ }Expand description
Policy for bounded key iteration with from/to bounds.
This policy restricts iteration to a specific key range.
Important: When using BoundedKeyPolicy, the method seek() must be called explicitly
before starting iteration. This policy does not automatically seek to the beginning position.
Implementations§
Trait Implementations§
Source§impl<'a> Policy for BoundedKeyPolicy<'a>
impl<'a> Policy for BoundedKeyPolicy<'a>
Source§fn should_continue(&self, context: &dyn Context<'_>) -> bool
fn should_continue(&self, context: &dyn Context<'_>) -> bool
Determines if iteration should continue based on current context
Source§fn should_seek_begin(&self) -> bool
fn should_seek_begin(&self) -> bool
Determines if iterator should seek to beginning at start, default is true
Auto Trait Implementations§
impl<'a> !UnwindSafe for BoundedKeyPolicy<'a>
impl<'a> Freeze for BoundedKeyPolicy<'a>
impl<'a> RefUnwindSafe for BoundedKeyPolicy<'a>
impl<'a> Send for BoundedKeyPolicy<'a>
impl<'a> Sync for BoundedKeyPolicy<'a>
impl<'a> Unpin for BoundedKeyPolicy<'a>
impl<'a> UnsafeUnpin for BoundedKeyPolicy<'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