pub struct TpmDeviceCharacteristics {
pub raw: u64,
}
Expand description
§TPM Device Characteristics
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§
Source§impl 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§
Source§impl Debug for TpmDeviceCharacteristics
impl Debug for TpmDeviceCharacteristics
Source§impl Deref for TpmDeviceCharacteristics
impl Deref for TpmDeviceCharacteristics
Source§impl From<u64> for TpmDeviceCharacteristics
impl From<u64> for TpmDeviceCharacteristics
Source§impl PartialEq for TpmDeviceCharacteristics
impl PartialEq for TpmDeviceCharacteristics
Source§impl Serialize for TpmDeviceCharacteristics
impl Serialize for TpmDeviceCharacteristics
impl Eq for TpmDeviceCharacteristics
impl StructuralPartialEq for TpmDeviceCharacteristics
Auto Trait Implementations§
impl Freeze for TpmDeviceCharacteristics
impl RefUnwindSafe for TpmDeviceCharacteristics
impl Send for TpmDeviceCharacteristics
impl Sync for TpmDeviceCharacteristics
impl Unpin for TpmDeviceCharacteristics
impl UnwindSafe for TpmDeviceCharacteristics
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