#[repr(C)]pub struct BlockFileCacheEntry {Show 14 fields
pub hash: u32,
pub next: CacheAddr,
pub rankings_node: CacheAddr,
pub reuse_count: i32,
pub refetch_count: i32,
pub state: i32,
pub creation_time: WindowsEpochMicroseconds,
pub key_len: i32,
pub long_key: CacheAddr,
pub data_size: [i32; 4],
pub data_addr: [CacheAddr; 4],
pub flags: u32,
pub self_hash: u32,
pub key: InlineCacheKey,
/* private fields */
}Fields§
§hash: u32§next: CacheAddr§rankings_node: CacheAddr§reuse_count: i32§refetch_count: i32§state: i32§creation_time: WindowsEpochMicroseconds§key_len: i32§long_key: CacheAddr§data_size: [i32; 4]§data_addr: [CacheAddr; 4]§flags: u32§self_hash: u32§key: InlineCacheKeyTrait Implementations§
source§impl Clone for BlockFileCacheEntry
impl Clone for BlockFileCacheEntry
source§fn clone(&self) -> BlockFileCacheEntry
fn clone(&self) -> BlockFileCacheEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for BlockFileCacheEntry
impl Debug for BlockFileCacheEntry
source§impl FromBytes for BlockFileCacheEntry
impl FromBytes for BlockFileCacheEntry
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 BlockFileCacheEntrywhere
u32: FromZeroes,
CacheAddr: FromZeroes,
i32: FromZeroes,
WindowsEpochMicroseconds: FromZeroes,
[i32; 4]: FromZeroes,
[CacheAddr; 4]: FromZeroes,
[u32; 4]: FromZeroes,
InlineCacheKey: FromZeroes,
impl FromZeroes for BlockFileCacheEntrywhere
u32: FromZeroes,
CacheAddr: FromZeroes,
i32: FromZeroes,
WindowsEpochMicroseconds: FromZeroes,
[i32; 4]: FromZeroes,
[CacheAddr; 4]: FromZeroes,
[u32; 4]: FromZeroes,
InlineCacheKey: FromZeroes,
Auto Trait Implementations§
impl Freeze for BlockFileCacheEntry
impl RefUnwindSafe for BlockFileCacheEntry
impl Send for BlockFileCacheEntry
impl Sync for BlockFileCacheEntry
impl Unpin for BlockFileCacheEntry
impl UnwindSafe for BlockFileCacheEntry
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