pub enum WriteCachePolicyType {
WriteThrough,
ProtectedWriteBack,
UnprotectedWriteBack,
Off,
UnsupportedValue,
}Variants§
WriteThrough
A caching technique in which the completion of a write request is not signaled until data is safely stored on non-volatile media.
A caching technique in which the completion of a write request is not signaled until data is safely stored on non-volatile media.
ProtectedWriteBack
A caching technique in which the completion of a write request is signaled as soon as the data is in cache, and actual writing to non-volatile media is guaranteed to occur at a later time.
A caching technique in which the completion of a write request is signaled as soon as the data is in cache, and actual writing to non-volatile media is guaranteed to occur at a later time.
UnprotectedWriteBack
A caching technique in which the completion of a write request is signaled as soon as the data is in cache; actual writing to non-volatile media is not guaranteed to occur at a later time.
A caching technique in which the completion of a write request is signaled as soon as the data is in cache; actual writing to non-volatile media is not guaranteed to occur at a later time.
Off
The write cache is disabled.
Indicates that the write cache shall be disabled.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for WriteCachePolicyType
impl Clone for WriteCachePolicyType
Source§fn clone(&self) -> WriteCachePolicyType
fn clone(&self) -> WriteCachePolicyType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for WriteCachePolicyType
Source§impl Debug for WriteCachePolicyType
impl Debug for WriteCachePolicyType
Source§impl<'de> Deserialize<'de> for WriteCachePolicyType
impl<'de> Deserialize<'de> for WriteCachePolicyType
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>,
impl Eq for WriteCachePolicyType
Source§impl PartialEq for WriteCachePolicyType
impl PartialEq for WriteCachePolicyType
Source§fn eq(&self, other: &WriteCachePolicyType) -> bool
fn eq(&self, other: &WriteCachePolicyType) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for WriteCachePolicyType
impl Serialize for WriteCachePolicyType
impl StructuralPartialEq for WriteCachePolicyType
Source§impl ToSnakeCase for WriteCachePolicyType
impl ToSnakeCase for WriteCachePolicyType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
snake_case string