#[non_exhaustive]#[repr(u8)]pub enum TpmHt {
Pcr = 0,
NvIndex = 1,
HmacSession = 2,
PolicySession = 3,
ExternalNv = 17,
PermanentNv = 18,
Permanent = 64,
Transient = 128,
Persistent = 129,
Ac = 144,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Pcr = 0
NvIndex = 1
HmacSession = 2
PolicySession = 3
ExternalNv = 17
PermanentNv = 18
Permanent = 64
Transient = 128
Persistent = 129
Ac = 144
Implementations§
Source§impl TpmHt
impl TpmHt
pub const LOADED_SESSION: TpmHt = TpmHt::HmacSession
pub const SAVED_SESSION: TpmHt = TpmHt::PolicySession
Trait Implementations§
impl Copy for TpmHt
impl Eq for TpmHt
impl StructuralPartialEq for TpmHt
Source§impl TpmMarshal for TpmHt
impl TpmMarshal for TpmHt
Source§impl TpmSized for TpmHt
impl TpmSized for TpmHt
Source§impl<'a> TpmTaggedField<'a, TpmHt> for TpmuNvPublic2
impl<'a> TpmTaggedField<'a, TpmHt> for TpmuNvPublic2
Auto Trait Implementations§
impl Freeze for TpmHt
impl RefUnwindSafe for TpmHt
impl Send for TpmHt
impl Sync for TpmHt
impl Unpin for TpmHt
impl UnsafeUnpin for TpmHt
impl UnwindSafe for TpmHt
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