pub struct CacheIoOperationKey {
pub generation: u64,
pub id: CacheBlockId,
pub kind: CacheIoOperationKind,
}Expand description
Exact identity of one backing-store operation.
Fields§
§generation: u64Cache generation in which the operation was submitted.
id: CacheBlockIdBlock whose resources the operation owns.
kind: CacheIoOperationKindDirection of the operation.
Trait Implementations§
Source§impl Clone for CacheIoOperationKey
impl Clone for CacheIoOperationKey
Source§fn clone(&self) -> CacheIoOperationKey
fn clone(&self) -> CacheIoOperationKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CacheIoOperationKey
impl Debug for CacheIoOperationKey
Source§impl<'de> Deserialize<'de> for CacheIoOperationKey
impl<'de> Deserialize<'de> for CacheIoOperationKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CacheIoOperationKey
Source§impl Hash for CacheIoOperationKey
impl Hash for CacheIoOperationKey
Source§impl PartialEq for CacheIoOperationKey
impl PartialEq for CacheIoOperationKey
Source§impl Serialize for CacheIoOperationKey
impl Serialize for CacheIoOperationKey
impl StructuralPartialEq for CacheIoOperationKey
Auto Trait Implementations§
impl Freeze for CacheIoOperationKey
impl RefUnwindSafe for CacheIoOperationKey
impl Send for CacheIoOperationKey
impl Sync for CacheIoOperationKey
impl Unpin for CacheIoOperationKey
impl UnsafeUnpin for CacheIoOperationKey
impl UnwindSafe for CacheIoOperationKey
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