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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Source§impl Metadata<'static> for ReadCachePolicyType
impl Metadata<'static> for ReadCachePolicyType
Source§const JSON_SCHEMA: &'static str = "Volume.json"
const JSON_SCHEMA: &'static str = "Volume.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for ReadCachePolicyType
impl RefUnwindSafe for ReadCachePolicyType
impl Send for ReadCachePolicyType
impl Sync for ReadCachePolicyType
impl Unpin for ReadCachePolicyType
impl UnwindSafe for ReadCachePolicyType
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