pub enum ErrorCorrection {
NoEcc,
SingleBitEcc,
MultiBitEcc,
AddressParity,
UnsupportedValue,
}Variants§
NoEcc
No ECC available.
SingleBitEcc
Single bit data errors can be corrected by ECC.
MultiBitEcc
Multibit data errors can be corrected by ECC.
AddressParity
Address parity errors can be corrected.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for ErrorCorrection
impl Clone for ErrorCorrection
Source§fn clone(&self) -> ErrorCorrection
fn clone(&self) -> ErrorCorrection
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 ErrorCorrection
impl Debug for ErrorCorrection
Source§impl<'de> Deserialize<'de> for ErrorCorrection
impl<'de> Deserialize<'de> for ErrorCorrection
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 ErrorCorrection
impl PartialEq for ErrorCorrection
Source§fn eq(&self, other: &ErrorCorrection) -> bool
fn eq(&self, other: &ErrorCorrection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ErrorCorrection
impl Serialize for ErrorCorrection
Source§impl ToSnakeCase for ErrorCorrection
impl ToSnakeCase for ErrorCorrection
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 ErrorCorrection
impl Eq for ErrorCorrection
impl StructuralPartialEq for ErrorCorrection
Auto Trait Implementations§
impl Freeze for ErrorCorrection
impl RefUnwindSafe for ErrorCorrection
impl Send for ErrorCorrection
impl Sync for ErrorCorrection
impl Unpin for ErrorCorrection
impl UnsafeUnpin for ErrorCorrection
impl UnwindSafe for ErrorCorrection
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