Struct tss_esapi::handles::PermanentTpmHandle
source · [−]pub struct PermanentTpmHandle { /* private fields */ }Implementations
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub fn new(value: u32) -> Result<PermanentTpmHandle>
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const First: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_FIRST,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const StorageRootKey: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_SRK,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Owner: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_OWNER,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Revoke: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_REVOKE,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Transport: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_TRANSPORT,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Operator: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_OPERATOR,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Admin: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_ADMIN,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const EndorsementKey: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_EK,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Null: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_NULL,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Unassigned: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_UNASSIGNED,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const PasswordSession: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RS_PW,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Lockout: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_LOCKOUT,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Endorsement: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_ENDORSEMENT,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Platform: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_PLATFORM,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const PlatformNv: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_PLATFORM_NV,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const VendorSpecificAuthorizationFirst: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_AUTH_00,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const VendorSpecificAuthorizationLast: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_AUTH_FF,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const AuthenticatedTimersFirst: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_ACT_0,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const AuthenticatedTimersLast: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_ACT_F,}
sourceimpl PermanentTpmHandle
impl PermanentTpmHandle
pub const Last: PermanentTpmHandle = PermanentTpmHandle{value: TPM2_RH_LAST,}
Trait Implementations
sourceimpl Clone for PermanentTpmHandle
impl Clone for PermanentTpmHandle
sourcefn clone(&self) -> PermanentTpmHandle
fn clone(&self) -> PermanentTpmHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PermanentTpmHandle
impl Debug for PermanentTpmHandle
sourceimpl From<PermanentTpmHandle> for TpmHandle
impl From<PermanentTpmHandle> for TpmHandle
sourcefn from(specific_tpm_handle: PermanentTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: PermanentTpmHandle) -> TpmHandle
Converts to this type from the input type.
sourceimpl From<PermanentTpmHandle> for TPM2_HANDLE
impl From<PermanentTpmHandle> for TPM2_HANDLE
sourcefn from(specific_tpm_handle: PermanentTpmHandle) -> TPM2_HANDLE
fn from(specific_tpm_handle: PermanentTpmHandle) -> TPM2_HANDLE
Converts to this type from the input type.
sourceimpl PartialEq<PermanentTpmHandle> for PermanentTpmHandle
impl PartialEq<PermanentTpmHandle> for PermanentTpmHandle
sourcefn eq(&self, other: &PermanentTpmHandle) -> bool
fn eq(&self, other: &PermanentTpmHandle) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PermanentTpmHandle) -> bool
fn ne(&self, other: &PermanentTpmHandle) -> bool
This method tests for !=.
sourceimpl TryFrom<TpmHandle> for PermanentTpmHandle
impl TryFrom<TpmHandle> for PermanentTpmHandle
sourceimpl TryFrom<u32> for PermanentTpmHandle
impl TryFrom<u32> for PermanentTpmHandle
sourcefn try_from(tss_tpm_handle: TPM2_HANDLE) -> Result<PermanentTpmHandle>
fn try_from(tss_tpm_handle: TPM2_HANDLE) -> Result<PermanentTpmHandle>
Performs the conversion.
impl Copy for PermanentTpmHandle
impl Eq for PermanentTpmHandle
impl StructuralEq for PermanentTpmHandle
impl StructuralPartialEq for PermanentTpmHandle
Auto Trait Implementations
impl RefUnwindSafe for PermanentTpmHandle
impl Send for PermanentTpmHandle
impl Sync for PermanentTpmHandle
impl Unpin for PermanentTpmHandle
impl UnwindSafe for PermanentTpmHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more