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