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