Struct tss_esapi::handles::HmacSessionTpmHandle
source · [−]pub struct HmacSessionTpmHandle { /* private fields */ }Implementations
sourceimpl HmacSessionTpmHandle
impl HmacSessionTpmHandle
pub fn new(value: u32) -> Result<HmacSessionTpmHandle>
Trait Implementations
sourceimpl Clone for HmacSessionTpmHandle
impl Clone for HmacSessionTpmHandle
sourcefn clone(&self) -> HmacSessionTpmHandle
fn clone(&self) -> HmacSessionTpmHandle
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 HmacSessionTpmHandle
impl Debug for HmacSessionTpmHandle
sourceimpl From<HmacSessionTpmHandle> for TpmHandle
impl From<HmacSessionTpmHandle> for TpmHandle
sourcefn from(specific_tpm_handle: HmacSessionTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: HmacSessionTpmHandle) -> TpmHandle
Performs the conversion.
sourceimpl From<HmacSessionTpmHandle> for TPM2_HANDLE
impl From<HmacSessionTpmHandle> for TPM2_HANDLE
sourcefn from(specific_tpm_handle: HmacSessionTpmHandle) -> TPM2_HANDLE
fn from(specific_tpm_handle: HmacSessionTpmHandle) -> TPM2_HANDLE
Performs the conversion.
sourceimpl PartialEq<HmacSessionTpmHandle> for HmacSessionTpmHandle
impl PartialEq<HmacSessionTpmHandle> for HmacSessionTpmHandle
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &HmacSessionTpmHandle) -> bool
fn ne(&self, other: &HmacSessionTpmHandle) -> bool
This method tests for !=.
sourceimpl TryFrom<TpmHandle> for HmacSessionTpmHandle
impl TryFrom<TpmHandle> for HmacSessionTpmHandle
sourceimpl TryFrom<u32> for HmacSessionTpmHandle
impl TryFrom<u32> for HmacSessionTpmHandle
sourcefn 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 StructuralEq for HmacSessionTpmHandle
impl StructuralPartialEq for HmacSessionTpmHandle
Auto Trait Implementations
impl RefUnwindSafe for HmacSessionTpmHandle
impl Send for HmacSessionTpmHandle
impl Sync for HmacSessionTpmHandle
impl Unpin for HmacSessionTpmHandle
impl UnwindSafe for HmacSessionTpmHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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