pub struct SearchHit {
pub block: u64,
pub offset: usize,
pub context: Vec<u8>,
}Expand description
A search hit: pattern found at a specific location.
Fields§
§block: u64Physical block number containing the hit.
offset: usizeByte offset within the block.
context: Vec<u8>Context bytes around the hit (surrounding data for examiner review).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SearchHit
impl RefUnwindSafe for SearchHit
impl Send for SearchHit
impl Sync for SearchHit
impl Unpin for SearchHit
impl UnsafeUnpin for SearchHit
impl UnwindSafe for SearchHit
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