#[repr(C)]pub struct BaseRTPrefixMatch {
pub matched_tokens: c_int,
pub n_blocks: c_int,
pub blocks: *const c_int,
pub handle: u64,
}Expand description
Result of a prefix-cache lookup (baseRT_prefix_match). blocks points
into engine-owned storage valid until baseRT_prefix_unlock(handle) /
baseRT_prefix_release(handle). handle == 0 means miss / cache
disabled — nothing to unlock.
Fields§
§matched_tokens: c_int§n_blocks: c_int§blocks: *const c_int§handle: u64Trait Implementations§
Source§impl Clone for BaseRTPrefixMatch
impl Clone for BaseRTPrefixMatch
impl Copy for BaseRTPrefixMatch
Auto Trait Implementations§
impl !Send for BaseRTPrefixMatch
impl !Sync for BaseRTPrefixMatch
impl Freeze for BaseRTPrefixMatch
impl RefUnwindSafe for BaseRTPrefixMatch
impl Unpin for BaseRTPrefixMatch
impl UnsafeUnpin for BaseRTPrefixMatch
impl UnwindSafe for BaseRTPrefixMatch
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