pub struct HitRecord<'a> {
pub pack_idx: u32,
pub offset: u64,
pub length: u32,
pub record: &'a [u8],
}Expand description
A hit’s record and where its segment lives.
Fields§
§pack_idx: u32§offset: u64§length: u32§record: &'a [u8]Sealed record bytes, opaque at this layer.
Trait Implementations§
impl<'a> Eq for HitRecord<'a>
impl<'a> StructuralPartialEq for HitRecord<'a>
Auto Trait Implementations§
impl<'a> Forget for HitRecord<'a>
impl<'a> Freeze for HitRecord<'a>
impl<'a> Move for HitRecord<'a>
impl<'a> RefUnwindSafe for HitRecord<'a>
impl<'a> Send for HitRecord<'a>
impl<'a> Sync for HitRecord<'a>
impl<'a> Unpin for HitRecord<'a>
impl<'a> UnsafeUnpin for HitRecord<'a>where
&'a [u8]: UnsafeUnpin,
impl<'a> UnwindSafe for HitRecord<'a>where
&'a [u8]: UnwindSafe,
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