#[repr(u32)]pub enum TpmCommandCode {
Show 13 variants
Startup = 324,
Shutdown = 325,
SelfTest = 323,
GetCapability = 378,
GetRandom = 379,
PcrRead = 382,
PcrExtend = 386,
Create = 339,
Load = 343,
Sign = 349,
VerifySignature = 375,
Quote = 344,
CreatePrimary = 305,
}Expand description
TPM Command Codes (TPM_CC, partial list)
Variants§
Startup = 324
Shutdown = 325
SelfTest = 323
GetCapability = 378
GetRandom = 379
PcrRead = 382
PcrExtend = 386
Create = 339
Load = 343
Sign = 349
VerifySignature = 375
Quote = 344
CreatePrimary = 305
Trait Implementations§
Source§impl Clone for TpmCommandCode
impl Clone for TpmCommandCode
Source§fn clone(&self) -> TpmCommandCode
fn clone(&self) -> TpmCommandCode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TpmCommandCode
impl Debug for TpmCommandCode
Source§impl PartialEq for TpmCommandCode
impl PartialEq for TpmCommandCode
impl Copy for TpmCommandCode
impl Eq for TpmCommandCode
impl StructuralPartialEq for TpmCommandCode
Auto Trait Implementations§
impl Freeze for TpmCommandCode
impl RefUnwindSafe for TpmCommandCode
impl Send for TpmCommandCode
impl Sync for TpmCommandCode
impl Unpin for TpmCommandCode
impl UnwindSafe for TpmCommandCode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)