#[non_exhaustive]#[repr(u32)]pub enum TpmCap {
Algs = 0,
Handles = 1,
Commands = 2,
PpCommands = 3,
AuditCommands = 4,
Pcrs = 5,
TpmProperties = 6,
PcrProperties = 7,
EccCurves = 8,
AuthPolicies = 9,
Act = 10,
VendorProperty = 256,
}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.
Algs = 0
Handles = 1
Commands = 2
PpCommands = 3
AuditCommands = 4
Pcrs = 5
TpmProperties = 6
PcrProperties = 7
EccCurves = 8
AuthPolicies = 9
Act = 10
VendorProperty = 256
Implementations§
Trait Implementations§
impl Copy for TpmCap
impl Eq for TpmCap
impl StructuralPartialEq for TpmCap
Source§impl TpmMarshal for TpmCap
impl TpmMarshal for TpmCap
Source§impl TpmSized for TpmCap
impl TpmSized for TpmCap
Source§impl<'a> TpmTaggedField<'a, TpmCap> for TpmuCapabilitieswhere
TpmlAlgProperty: TpmField<'a>,
TpmlHandle: TpmField<'a>,
TpmlPcrSelection: TpmField<'a>,
TpmlCca: TpmField<'a>,
TpmlCc: TpmField<'a>,
TpmlTaggedTpmProperty: TpmField<'a>,
TpmlEccCurve: TpmField<'a>,
TpmlTaggedPolicy: TpmField<'a>,
TpmlActData: TpmField<'a>,
impl<'a> TpmTaggedField<'a, TpmCap> for TpmuCapabilitieswhere
TpmlAlgProperty: TpmField<'a>,
TpmlHandle: TpmField<'a>,
TpmlPcrSelection: TpmField<'a>,
TpmlCca: TpmField<'a>,
TpmlCc: TpmField<'a>,
TpmlTaggedTpmProperty: TpmField<'a>,
TpmlEccCurve: TpmField<'a>,
TpmlTaggedPolicy: TpmField<'a>,
TpmlActData: TpmField<'a>,
Source§impl TpmUnmarshal for TpmCap
impl TpmUnmarshal for TpmCap
Source§impl TpmUnmarshalTagged<TpmCap> for TpmuCapabilities
impl TpmUnmarshalTagged<TpmCap> for TpmuCapabilities
Auto Trait Implementations§
impl Freeze for TpmCap
impl RefUnwindSafe for TpmCap
impl Send for TpmCap
impl Sync for TpmCap
impl Unpin for TpmCap
impl UnsafeUnpin for TpmCap
impl UnwindSafe for TpmCap
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