pub enum AttestationType {
Certify,
Quote,
SessionAudit,
CommandAudit,
Time,
Creation,
Nv,
NvDigest,
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for AttestationType
impl Clone for AttestationType
source§fn clone(&self) -> AttestationType
fn clone(&self) -> AttestationType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AttestationType
impl Debug for AttestationType
source§impl From<AttestationType> for StructureTag
impl From<AttestationType> for StructureTag
source§fn from(native: AttestationType) -> Self
fn from(native: AttestationType) -> Self
Converts to this type from the input type.
source§impl From<AttestationType> for TPMI_ST_ATTEST
impl From<AttestationType> for TPMI_ST_ATTEST
source§fn from(attestation_type: AttestationType) -> Self
fn from(attestation_type: AttestationType) -> Self
Converts to this type from the input type.
source§impl PartialEq for AttestationType
impl PartialEq for AttestationType
source§fn eq(&self, other: &AttestationType) -> bool
fn eq(&self, other: &AttestationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<StructureTag> for AttestationType
impl TryFrom<StructureTag> for AttestationType
source§fn try_from(structure_tag: StructureTag) -> Result<AttestationType>
fn try_from(structure_tag: StructureTag) -> Result<AttestationType>
Performs the conversion.
source§impl TryFrom<u16> for AttestationType
impl TryFrom<u16> for AttestationType
impl Copy for AttestationType
impl Eq for AttestationType
impl StructuralPartialEq for AttestationType
Auto Trait Implementations§
impl Freeze for AttestationType
impl RefUnwindSafe for AttestationType
impl Send for AttestationType
impl Sync for AttestationType
impl Unpin for AttestationType
impl UnwindSafe for AttestationType
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