Struct tss_esapi::handles::ObjectHandle
source · pub struct ObjectHandle { /* private fields */ }Expand description
The ObjectHandle is the general handle type and it wraps the ESYS_TR.
All the other more specific handle types can be converted into an ObjectHandle.
Implementations§
source§impl ObjectHandle
impl ObjectHandle
pub const None: ObjectHandle = _
source§impl ObjectHandle
impl ObjectHandle
source§impl ObjectHandle
impl ObjectHandle
pub const Password: ObjectHandle = _
source§impl ObjectHandle
impl ObjectHandle
pub const Owner: ObjectHandle = _
source§impl ObjectHandle
impl ObjectHandle
pub const Lockout: ObjectHandle = _
source§impl ObjectHandle
impl ObjectHandle
pub const Endorsement: ObjectHandle = _
source§impl ObjectHandle
impl ObjectHandle
pub const Platform: ObjectHandle = _
source§impl ObjectHandle
impl ObjectHandle
pub const PlatformNv: ObjectHandle = _
source§impl ObjectHandle
impl ObjectHandle
pub const Null: ObjectHandle = _
Trait Implementations§
source§impl Clone for ObjectHandle
impl Clone for ObjectHandle
source§fn clone(&self) -> ObjectHandle
fn clone(&self) -> ObjectHandle
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 ObjectHandle
impl Debug for ObjectHandle
source§impl From<AuthHandle> for ObjectHandle
impl From<AuthHandle> for ObjectHandle
source§fn from(handle_self: AuthHandle) -> ObjectHandle
fn from(handle_self: AuthHandle) -> ObjectHandle
Converts to this type from the input type.
source§impl From<Enables> for ObjectHandle
impl From<Enables> for ObjectHandle
source§fn from(enables: Enables) -> ObjectHandle
fn from(enables: Enables) -> ObjectHandle
Converts to this type from the input type.
source§impl From<Endorsement> for ObjectHandle
impl From<Endorsement> for ObjectHandle
source§fn from(endorsement: Endorsement) -> ObjectHandle
fn from(endorsement: Endorsement) -> ObjectHandle
Converts to this type from the input type.
source§impl From<Hierarchy> for ObjectHandle
impl From<Hierarchy> for ObjectHandle
source§fn from(hierarchy: Hierarchy) -> ObjectHandle
fn from(hierarchy: Hierarchy) -> ObjectHandle
Converts to this type from the input type.
source§impl From<HierarchyAuth> for ObjectHandle
impl From<HierarchyAuth> for ObjectHandle
source§fn from(hierarchy_auth: HierarchyAuth) -> ObjectHandle
fn from(hierarchy_auth: HierarchyAuth) -> ObjectHandle
Converts to this type from the input type.
source§impl From<KeyHandle> for ObjectHandle
impl From<KeyHandle> for ObjectHandle
source§fn from(handle_self: KeyHandle) -> ObjectHandle
fn from(handle_self: KeyHandle) -> ObjectHandle
Converts to this type from the input type.
source§impl From<Lockout> for ObjectHandle
impl From<Lockout> for ObjectHandle
source§fn from(_: Lockout) -> ObjectHandle
fn from(_: Lockout) -> ObjectHandle
Converts to this type from the input type.
source§impl From<NvIndexHandle> for ObjectHandle
impl From<NvIndexHandle> for ObjectHandle
source§fn from(handle_self: NvIndexHandle) -> ObjectHandle
fn from(handle_self: NvIndexHandle) -> ObjectHandle
Converts to this type from the input type.
source§impl From<ObjectHandle> for AuthHandle
impl From<ObjectHandle> for AuthHandle
source§fn from(handle_other: ObjectHandle) -> AuthHandle
fn from(handle_other: ObjectHandle) -> AuthHandle
Converts to this type from the input type.
source§impl From<ObjectHandle> for ESYS_TR
impl From<ObjectHandle> for ESYS_TR
source§fn from(handle: ObjectHandle) -> ESYS_TR
fn from(handle: ObjectHandle) -> ESYS_TR
Converts to this type from the input type.
source§impl From<ObjectHandle> for KeyHandle
impl From<ObjectHandle> for KeyHandle
source§fn from(handle_other: ObjectHandle) -> KeyHandle
fn from(handle_other: ObjectHandle) -> KeyHandle
Converts to this type from the input type.
source§impl From<ObjectHandle> for NvIndexHandle
impl From<ObjectHandle> for NvIndexHandle
source§fn from(handle_other: ObjectHandle) -> NvIndexHandle
fn from(handle_other: ObjectHandle) -> NvIndexHandle
Converts to this type from the input type.
source§impl From<ObjectHandle> for SessionHandle
impl From<ObjectHandle> for SessionHandle
source§fn from(handle_other: ObjectHandle) -> SessionHandle
fn from(handle_other: ObjectHandle) -> SessionHandle
Converts to this type from the input type.
source§impl From<Owner> for ObjectHandle
impl From<Owner> for ObjectHandle
source§fn from(owner: Owner) -> ObjectHandle
fn from(owner: Owner) -> ObjectHandle
Converts to this type from the input type.
source§impl From<PcrHandle> for ObjectHandle
impl From<PcrHandle> for ObjectHandle
source§fn from(constant_handle: PcrHandle) -> ObjectHandle
fn from(constant_handle: PcrHandle) -> ObjectHandle
Converts to this type from the input type.
source§impl From<SessionHandle> for ObjectHandle
impl From<SessionHandle> for ObjectHandle
source§fn from(handle_self: SessionHandle) -> ObjectHandle
fn from(handle_self: SessionHandle) -> ObjectHandle
Converts to this type from the input type.
source§impl From<u32> for ObjectHandle
impl From<u32> for ObjectHandle
source§fn from(tss_esys_object_handle: ESYS_TR) -> ObjectHandle
fn from(tss_esys_object_handle: ESYS_TR) -> ObjectHandle
Converts to this type from the input type.
source§impl Hash for ObjectHandle
impl Hash for ObjectHandle
source§impl PartialEq<ObjectHandle> for ObjectHandle
impl PartialEq<ObjectHandle> for ObjectHandle
source§fn eq(&self, other: &ObjectHandle) -> bool
fn eq(&self, other: &ObjectHandle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<ObjectHandle> for Enables
impl TryFrom<ObjectHandle> for Enables
source§impl TryFrom<ObjectHandle> for Endorsement
impl TryFrom<ObjectHandle> for Endorsement
source§fn try_from(object_handle: ObjectHandle) -> Result<Endorsement>
fn try_from(object_handle: ObjectHandle) -> Result<Endorsement>
Performs the conversion.
source§impl TryFrom<ObjectHandle> for Hierarchy
impl TryFrom<ObjectHandle> for Hierarchy
source§impl TryFrom<ObjectHandle> for HierarchyAuth
impl TryFrom<ObjectHandle> for HierarchyAuth
source§fn try_from(object_handle: ObjectHandle) -> Result<HierarchyAuth>
fn try_from(object_handle: ObjectHandle) -> Result<HierarchyAuth>
Performs the conversion.