pub struct StorageKey {
pub group: u32,
pub content_hash: String,
pub page_offset: i32,
}Expand description
A content-addressed key of a scheduler storage operation (CacheKey).
Fields§
§group: u32The cache group.
content_hash: StringThe prefix page’s content hash.
page_offset: i32The block’s ordinal within its prefix page.
Trait Implementations§
Source§impl Clone for StorageKey
impl Clone for StorageKey
Source§impl Debug for StorageKey
impl Debug for StorageKey
impl Eq for StorageKey
Source§impl PartialEq for StorageKey
impl PartialEq for StorageKey
impl StructuralPartialEq for StorageKey
Auto Trait Implementations§
impl Freeze for StorageKey
impl RefUnwindSafe for StorageKey
impl Send for StorageKey
impl Sync for StorageKey
impl Unpin for StorageKey
impl UnsafeUnpin for StorageKey
impl UnwindSafe for StorageKey
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.