pub enum CacheStoragePhase {
Device,
DemotingToHost,
HostUnbacked,
HostWriting,
HostBacked,
DiskReady,
DiskReading,
}Expand description
Stable phase of one cache block’s physical resources.
Variants§
Device
The execution backend owns device resources.
DemotingToHost
Device resources are retained while a host copy is produced.
HostUnbacked
Host resources exist without a durable backing.
HostWriting
Host resources are retained by an exact disk-write operation.
HostBacked
Host resources have a durable backing.
DiskReady
Only the durable backing is resident.
DiskReading
A disk-read operation owns the backing and an admitted host allocation.
Implementations§
Trait Implementations§
Source§impl Clone for CacheStoragePhase
impl Clone for CacheStoragePhase
Source§fn clone(&self) -> CacheStoragePhase
fn clone(&self) -> CacheStoragePhase
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 moreimpl Copy for CacheStoragePhase
Source§impl Debug for CacheStoragePhase
impl Debug for CacheStoragePhase
Source§impl<'de> Deserialize<'de> for CacheStoragePhase
impl<'de> Deserialize<'de> for CacheStoragePhase
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 CacheStoragePhase
Source§impl PartialEq for CacheStoragePhase
impl PartialEq for CacheStoragePhase
Source§impl Serialize for CacheStoragePhase
impl Serialize for CacheStoragePhase
impl StructuralPartialEq for CacheStoragePhase
Auto Trait Implementations§
impl Freeze for CacheStoragePhase
impl RefUnwindSafe for CacheStoragePhase
impl Send for CacheStoragePhase
impl Sync for CacheStoragePhase
impl Unpin for CacheStoragePhase
impl UnsafeUnpin for CacheStoragePhase
impl UnwindSafe for CacheStoragePhase
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