Struct tss_esapi::handles::PersistentTpmHandle
source · pub struct PersistentTpmHandle { /* private fields */ }
Implementations§
source§impl PersistentTpmHandle
impl PersistentTpmHandle
pub fn new(value: u32) -> Result<PersistentTpmHandle>
Trait Implementations§
source§impl Clone for PersistentTpmHandle
impl Clone for PersistentTpmHandle
source§fn clone(&self) -> PersistentTpmHandle
fn clone(&self) -> PersistentTpmHandle
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 PersistentTpmHandle
impl Debug for PersistentTpmHandle
source§impl From<Persistent> for PersistentTpmHandle
impl From<Persistent> for PersistentTpmHandle
source§fn from(persistent: Persistent) -> PersistentTpmHandle
fn from(persistent: Persistent) -> PersistentTpmHandle
Converts to this type from the input type.
source§impl From<PersistentTpmHandle> for Persistent
impl From<PersistentTpmHandle> for Persistent
source§fn from(persistent_tpm_handle: PersistentTpmHandle) -> Persistent
fn from(persistent_tpm_handle: PersistentTpmHandle) -> Persistent
Converts to this type from the input type.
source§impl From<PersistentTpmHandle> for TpmHandle
impl From<PersistentTpmHandle> for TpmHandle
source§fn from(specific_tpm_handle: PersistentTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: PersistentTpmHandle) -> TpmHandle
Converts to this type from the input type.
source§impl From<PersistentTpmHandle> for TPM2_HANDLE
impl From<PersistentTpmHandle> for TPM2_HANDLE
source§fn from(specific_tpm_handle: PersistentTpmHandle) -> TPM2_HANDLE
fn from(specific_tpm_handle: PersistentTpmHandle) -> TPM2_HANDLE
Converts to this type from the input type.
source§impl PartialEq for PersistentTpmHandle
impl PartialEq for PersistentTpmHandle
source§fn eq(&self, other: &PersistentTpmHandle) -> bool
fn eq(&self, other: &PersistentTpmHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<TpmHandle> for PersistentTpmHandle
impl TryFrom<TpmHandle> for PersistentTpmHandle
source§impl TryFrom<u32> for PersistentTpmHandle
impl TryFrom<u32> for PersistentTpmHandle
source§fn try_from(tss_tpm_handle: TPM2_HANDLE) -> Result<PersistentTpmHandle>
fn try_from(tss_tpm_handle: TPM2_HANDLE) -> Result<PersistentTpmHandle>
Performs the conversion.
impl Copy for PersistentTpmHandle
impl Eq for PersistentTpmHandle
impl StructuralPartialEq for PersistentTpmHandle
Auto Trait Implementations§
impl Freeze for PersistentTpmHandle
impl RefUnwindSafe for PersistentTpmHandle
impl Send for PersistentTpmHandle
impl Sync for PersistentTpmHandle
impl Unpin for PersistentTpmHandle
impl UnwindSafe for PersistentTpmHandle
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