pub enum ReadCachePolicyType {
ReadAhead,
AdaptiveReadAhead,
Off,
UnsupportedValue,
}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.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
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 (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 ReadCachePolicyType
impl Debug for ReadCachePolicyType
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 PartialEq for ReadCachePolicyType
impl PartialEq for ReadCachePolicyType
Source§fn eq(&self, other: &ReadCachePolicyType) -> bool
fn eq(&self, other: &ReadCachePolicyType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReadCachePolicyType
impl Serialize for ReadCachePolicyType
Source§impl ToSnakeCase for ReadCachePolicyType
impl ToSnakeCase for ReadCachePolicyType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for ReadCachePolicyType
impl Eq for ReadCachePolicyType
impl StructuralPartialEq for ReadCachePolicyType
Auto Trait Implementations§
impl Freeze for ReadCachePolicyType
impl RefUnwindSafe for ReadCachePolicyType
impl Send for ReadCachePolicyType
impl Sync for ReadCachePolicyType
impl Unpin for ReadCachePolicyType
impl UnsafeUnpin 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