Struct chrome_cache_parser::cache_index::IndexHeader
source · #[repr(C)]pub struct IndexHeader {
pub magic: u32,
pub version: CacheVersionId,
pub num_entries: i32,
pub num_bytes: i32,
pub last_file: i32,
pub this_id: i32,
pub stats: CacheAddr,
pub table_len: i32,
pub crash: i32,
pub experiment: i32,
pub create_time: WindowsEpochMicroseconds,
pub lru: LruData,
/* private fields */
}Fields§
§magic: u32§version: CacheVersionId§num_entries: i32§num_bytes: i32§last_file: i32§this_id: i32§stats: CacheAddr§table_len: i32§crash: i32§experiment: i32§create_time: WindowsEpochMicroseconds§lru: LruDataTrait Implementations§
source§impl Debug for IndexHeader
impl Debug for IndexHeader
source§impl FromBytes for IndexHeader
impl FromBytes for IndexHeader
source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes as a &[Self] with length
equal to count without copying. Read moresource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes as a &[Self] with length
equal to count without copying. Read moresource§impl FromZeroes for IndexHeaderwhere
u32: FromZeroes,
CacheVersionId: FromZeroes,
i32: FromZeroes,
CacheAddr: FromZeroes,
WindowsEpochMicroseconds: FromZeroes,
[u32; 52]: FromZeroes,
LruData: FromZeroes,
impl FromZeroes for IndexHeaderwhere
u32: FromZeroes,
CacheVersionId: FromZeroes,
i32: FromZeroes,
CacheAddr: FromZeroes,
WindowsEpochMicroseconds: FromZeroes,
[u32; 52]: FromZeroes,
LruData: FromZeroes,
Auto Trait Implementations§
impl Freeze for IndexHeader
impl RefUnwindSafe for IndexHeader
impl Send for IndexHeader
impl Sync for IndexHeader
impl Unpin for IndexHeader
impl UnwindSafe for IndexHeader
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