Struct smbioslib::TpmDeviceCharacteristics
source · [−]pub struct TpmDeviceCharacteristics {
pub raw: u64,
}
Expand description
Fields
raw: u64
Raw value
raw is useful when there are values not yet defiend. This is most likely to occur when the standard was updated but this library code has not been updated to match the current standard.
Implementations
sourceimpl TpmDeviceCharacteristics
impl TpmDeviceCharacteristics
sourcepub fn reserved_0(&self) -> bool
pub fn reserved_0(&self) -> bool
Bit 0 - reserved
sourcepub fn reserved_1(&self) -> bool
pub fn reserved_1(&self) -> bool
Bit 1 - reserved
sourcepub fn not_supported(&self) -> bool
pub fn not_supported(&self) -> bool
Bit 2 - TPM Device Characteristics are not supported.
sourcepub fn family_configurable_via_firmware(&self) -> bool
pub fn family_configurable_via_firmware(&self) -> bool
Bit 3 - Family configurable via firmware update; for example, switching between TPM 1.2
sourcepub fn family_configurable_via_software(&self) -> bool
pub fn family_configurable_via_software(&self) -> bool
Bit 4 - Family configurable via platform software support, such as BIOS Setup; for example,
sourcepub fn family_configurable_via_oem(&self) -> bool
pub fn family_configurable_via_oem(&self) -> bool
Bit 5 - Family configurable via OEM proprietary mechanism; for example, switching between TPM 1.2 and TPM 2.0.
Trait Implementations
sourceimpl Debug for TpmDeviceCharacteristics
impl Debug for TpmDeviceCharacteristics
sourceimpl Deref for TpmDeviceCharacteristics
impl Deref for TpmDeviceCharacteristics
sourceimpl From<u64> for TpmDeviceCharacteristics
impl From<u64> for TpmDeviceCharacteristics
sourceimpl PartialEq<TpmDeviceCharacteristics> for TpmDeviceCharacteristics
impl PartialEq<TpmDeviceCharacteristics> for TpmDeviceCharacteristics
sourcefn eq(&self, other: &TpmDeviceCharacteristics) -> bool
fn eq(&self, other: &TpmDeviceCharacteristics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TpmDeviceCharacteristics) -> bool
fn ne(&self, other: &TpmDeviceCharacteristics) -> bool
This method tests for !=
.
sourceimpl Serialize for TpmDeviceCharacteristics
impl Serialize for TpmDeviceCharacteristics
impl Eq for TpmDeviceCharacteristics
impl StructuralEq for TpmDeviceCharacteristics
impl StructuralPartialEq for TpmDeviceCharacteristics
Auto Trait Implementations
impl RefUnwindSafe for TpmDeviceCharacteristics
impl Send for TpmDeviceCharacteristics
impl Sync for TpmDeviceCharacteristics
impl Unpin for TpmDeviceCharacteristics
impl UnwindSafe for TpmDeviceCharacteristics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more