pub struct AttemptOptimisticPrefixMatch {
pub matched_bytes: usize,
pub any_implicit_bytes: bool,
}Expand description
This struct represents a successful match against a prefix using the
InnerNodeCommon::attempt_pessimistic_match_prefix function.
Fields§
§matched_bytes: usizeHow many bytes were matched
any_implicit_bytes: boolThis flag will be true if the attempt_pessimistic_match_prefix
function fell back to an optimistic mode, and assumed prefix match by
key length.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AttemptOptimisticPrefixMatch
impl RefUnwindSafe for AttemptOptimisticPrefixMatch
impl Send for AttemptOptimisticPrefixMatch
impl Sync for AttemptOptimisticPrefixMatch
impl Unpin for AttemptOptimisticPrefixMatch
impl UnsafeUnpin for AttemptOptimisticPrefixMatch
impl UnwindSafe for AttemptOptimisticPrefixMatch
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