pub enum InterfaceTypeSelection {
None,
FirmwareUpdate,
BiosSetting,
OemMethod,
UnsupportedValue,
}Expand description
The enumerations of InterfaceTypeSelection specify the method for switching the TrustedModule InterfaceType, for instance between TPM1_2 and TPM2_0, if supported.
Variants§
None
The TrustedModule does not support switching the InterfaceType.
FirmwareUpdate
The TrustedModule supports switching InterfaceType through a firmware update.
BiosSetting
The TrustedModule supports switching InterfaceType through platform software, such as a BIOS configuration attribute.
OemMethod
The TrustedModule supports switching InterfaceType through an OEM proprietary mechanism.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for InterfaceTypeSelection
impl Clone for InterfaceTypeSelection
Source§fn clone(&self) -> InterfaceTypeSelection
fn clone(&self) -> InterfaceTypeSelection
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 InterfaceTypeSelection
impl Debug for InterfaceTypeSelection
Source§impl<'de> Deserialize<'de> for InterfaceTypeSelection
impl<'de> Deserialize<'de> for InterfaceTypeSelection
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 InterfaceTypeSelection
impl PartialEq for InterfaceTypeSelection
Source§fn eq(&self, other: &InterfaceTypeSelection) -> bool
fn eq(&self, other: &InterfaceTypeSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InterfaceTypeSelection
impl Serialize for InterfaceTypeSelection
Source§impl ToSnakeCase for InterfaceTypeSelection
impl ToSnakeCase for InterfaceTypeSelection
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 InterfaceTypeSelection
impl Eq for InterfaceTypeSelection
impl StructuralPartialEq for InterfaceTypeSelection
Auto Trait Implementations§
impl Freeze for InterfaceTypeSelection
impl RefUnwindSafe for InterfaceTypeSelection
impl Send for InterfaceTypeSelection
impl Sync for InterfaceTypeSelection
impl Unpin for InterfaceTypeSelection
impl UnsafeUnpin for InterfaceTypeSelection
impl UnwindSafe for InterfaceTypeSelection
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