#[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: BlockCacheEntryStateField,
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: BlockCacheEntryStateField
§creation_time: WindowsEpochMicroseconds
§key_len: i32
§long_key: CacheAddr
§data_size: [i32; 4]
§data_addr: [CacheAddr; 4]
§flags: u32
§self_hash: u32
§key: InlineCacheKey
Trait 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,
BlockCacheEntryStateField: FromZeroes,
WindowsEpochMicroseconds: FromZeroes,
[i32; 4]: FromZeroes,
[CacheAddr; 4]: FromZeroes,
[u32; 4]: FromZeroes,
InlineCacheKey: FromZeroes,
impl FromZeroes for BlockFileCacheEntrywhere
u32: FromZeroes,
CacheAddr: FromZeroes,
i32: FromZeroes,
BlockCacheEntryStateField: 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