Struct tss_esapi::handles::PersistentTpmHandle
source · [−]pub struct PersistentTpmHandle { /* private fields */ }Implementations
sourceimpl PersistentTpmHandle
impl PersistentTpmHandle
pub fn new(value: u32) -> Result<PersistentTpmHandle>
Trait Implementations
sourceimpl Clone for PersistentTpmHandle
impl Clone for PersistentTpmHandle
sourcefn clone(&self) -> PersistentTpmHandle
fn clone(&self) -> PersistentTpmHandle
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 PersistentTpmHandle
impl Debug for PersistentTpmHandle
sourceimpl From<Persistent> for PersistentTpmHandle
impl From<Persistent> for PersistentTpmHandle
sourcefn from(persistent: Persistent) -> PersistentTpmHandle
fn from(persistent: Persistent) -> PersistentTpmHandle
Converts to this type from the input type.
sourceimpl From<PersistentTpmHandle> for TpmHandle
impl From<PersistentTpmHandle> for TpmHandle
sourcefn from(specific_tpm_handle: PersistentTpmHandle) -> TpmHandle
fn from(specific_tpm_handle: PersistentTpmHandle) -> TpmHandle
Converts to this type from the input type.
sourceimpl From<PersistentTpmHandle> for TPM2_HANDLE
impl From<PersistentTpmHandle> for TPM2_HANDLE
sourcefn from(specific_tpm_handle: PersistentTpmHandle) -> TPM2_HANDLE
fn from(specific_tpm_handle: PersistentTpmHandle) -> TPM2_HANDLE
Converts to this type from the input type.
sourceimpl From<PersistentTpmHandle> for Persistent
impl From<PersistentTpmHandle> for Persistent
sourcefn from(persistent_tpm_handle: PersistentTpmHandle) -> Persistent
fn from(persistent_tpm_handle: PersistentTpmHandle) -> Persistent
Converts to this type from the input type.
sourceimpl PartialEq<PersistentTpmHandle> for PersistentTpmHandle
impl PartialEq<PersistentTpmHandle> for PersistentTpmHandle
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &PersistentTpmHandle) -> bool
fn ne(&self, other: &PersistentTpmHandle) -> bool
This method tests for !=.
sourceimpl TryFrom<TpmHandle> for PersistentTpmHandle
impl TryFrom<TpmHandle> for PersistentTpmHandle
sourceimpl TryFrom<u32> for PersistentTpmHandle
impl TryFrom<u32> for PersistentTpmHandle
sourcefn 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 StructuralEq for PersistentTpmHandle
impl StructuralPartialEq for PersistentTpmHandle
Auto Trait Implementations
impl RefUnwindSafe for PersistentTpmHandle
impl Send for PersistentTpmHandle
impl Sync for PersistentTpmHandle
impl Unpin for PersistentTpmHandle
impl UnwindSafe for PersistentTpmHandle
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