pub enum MemoryClassification {
Volatile,
ByteAccessiblePersistent,
Block,
UnsupportedValue,
}Variants§
Volatile
Volatile memory.
ByteAccessiblePersistent
Byte-accessible persistent memory.
Block
Block-accessible memory.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for MemoryClassification
impl Clone for MemoryClassification
Source§fn clone(&self) -> MemoryClassification
fn clone(&self) -> MemoryClassification
Returns a duplicate 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 MemoryClassification
impl Debug for MemoryClassification
Source§impl<'de> Deserialize<'de> for MemoryClassification
impl<'de> Deserialize<'de> for MemoryClassification
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 MemoryClassification
impl PartialEq for MemoryClassification
Source§impl Serialize for MemoryClassification
impl Serialize for MemoryClassification
Source§impl ToSnakeCase for MemoryClassification
impl ToSnakeCase for MemoryClassification
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 MemoryClassification
impl Eq for MemoryClassification
impl StructuralPartialEq for MemoryClassification
Auto Trait Implementations§
impl Freeze for MemoryClassification
impl RefUnwindSafe for MemoryClassification
impl Send for MemoryClassification
impl Sync for MemoryClassification
impl Unpin for MemoryClassification
impl UnsafeUnpin for MemoryClassification
impl UnwindSafe for MemoryClassification
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