#[repr(u32)]pub enum TpmCommand {
Startup = 324,
GetRandom = 379,
PCRRead = 382,
PCRExtend = 386,
CreatePrimary = 305,
Create = 339,
Load = 343,
Sign = 349,
VerifySignature = 375,
Quote = 344,
Unseal = 350,
}Expand description
TPM 2.0 command codes
Variants§
Startup = 324
GetRandom = 379
PCRRead = 382
PCRExtend = 386
CreatePrimary = 305
Create = 339
Load = 343
Sign = 349
VerifySignature = 375
Quote = 344
Unseal = 350
Trait Implementations§
Source§impl Clone for TpmCommand
impl Clone for TpmCommand
Source§fn clone(&self) -> TpmCommand
fn clone(&self) -> TpmCommand
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 TpmCommand
impl Debug for TpmCommand
Source§impl PartialEq for TpmCommand
impl PartialEq for TpmCommand
impl Copy for TpmCommand
impl Eq for TpmCommand
impl StructuralPartialEq for TpmCommand
Auto Trait Implementations§
impl Freeze for TpmCommand
impl RefUnwindSafe for TpmCommand
impl Send for TpmCommand
impl Sync for TpmCommand
impl Unpin for TpmCommand
impl UnwindSafe for TpmCommand
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)