Skip to main content

CacheHostDemotionOperation

Trait CacheHostDemotionOperation 

Source
pub trait CacheHostDemotionOperation {
    // Required methods
    fn block_id(&self) -> &CacheBlockId;
    fn operation_id(&self) -> u64;
}
Expand description

Opaque backend host-demotion completion with stable identity.

Required Methods§

Source

fn block_id(&self) -> &CacheBlockId

Block whose device resources the operation owns.

Source

fn operation_id(&self) -> u64

Monotonic operation identity within the backend cache session.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§