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