Enum redfish_codegen::models::volume::ReadCachePolicyType
source · pub enum ReadCachePolicyType {
ReadAhead,
AdaptiveReadAhead,
Off,
}
Variants§
ReadAhead
A caching technique in which the controller pre-fetches data anticipating future read requests.
AdaptiveReadAhead
A caching technique in which the controller dynamically determines whether to pre-fetch data anticipating future read requests, based on previous cache hit ratio.
Off
The read cache is disabled.
Trait Implementations§
source§impl Clone for ReadCachePolicyType
impl Clone for ReadCachePolicyType
source§fn clone(&self) -> ReadCachePolicyType
fn clone(&self) -> ReadCachePolicyType
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 ReadCachePolicyType
impl Debug for ReadCachePolicyType
source§impl Default for ReadCachePolicyType
impl Default for ReadCachePolicyType
source§fn default() -> ReadCachePolicyType
fn default() -> ReadCachePolicyType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReadCachePolicyType
impl<'de> Deserialize<'de> for ReadCachePolicyType
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