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
sourceimpl ObjectHandle
impl ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
pub const None: ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
pub const Password: ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
pub const Owner: ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
pub const Lockout: ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
pub const Endorsement: ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
pub const Platform: ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
pub const PlatformNv: ObjectHandle
sourceimpl ObjectHandle
impl ObjectHandle
pub const Null: ObjectHandle
Trait Implementations
sourceimpl Clone for ObjectHandle
impl Clone for ObjectHandle
sourcefn clone(&self) -> ObjectHandle
fn clone(&self) -> ObjectHandle
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 ObjectHandle
impl Debug for ObjectHandle
sourceimpl From<AuthHandle> for ObjectHandle
impl From<AuthHandle> for ObjectHandle
sourcefn from(handle_self: AuthHandle) -> ObjectHandle
fn from(handle_self: AuthHandle) -> ObjectHandle
Performs the conversion.
sourceimpl From<Enables> for ObjectHandle
impl From<Enables> for ObjectHandle
sourcefn from(enables: Enables) -> ObjectHandle
fn from(enables: Enables) -> ObjectHandle
Performs the conversion.
sourceimpl From<Endorsement> for ObjectHandle
impl From<Endorsement> for ObjectHandle
sourcefn from(endorsement: Endorsement) -> ObjectHandle
fn from(endorsement: Endorsement) -> ObjectHandle
Performs the conversion.
sourceimpl From<Hierarchy> for ObjectHandle
impl From<Hierarchy> for ObjectHandle
sourcefn from(hierarchy: Hierarchy) -> ObjectHandle
fn from(hierarchy: Hierarchy) -> ObjectHandle
Performs the conversion.
sourceimpl From<HierarchyAuth> for ObjectHandle
impl From<HierarchyAuth> for ObjectHandle
sourcefn from(hierarchy_auth: HierarchyAuth) -> ObjectHandle
fn from(hierarchy_auth: HierarchyAuth) -> ObjectHandle
Performs the conversion.
sourceimpl From<KeyHandle> for ObjectHandle
impl From<KeyHandle> for ObjectHandle
sourcefn from(handle_self: KeyHandle) -> ObjectHandle
fn from(handle_self: KeyHandle) -> ObjectHandle
Performs the conversion.
sourceimpl From<Lockout> for ObjectHandle
impl From<Lockout> for ObjectHandle
sourcefn from(_: Lockout) -> ObjectHandle
fn from(_: Lockout) -> ObjectHandle
Performs the conversion.
sourceimpl From<NvIndexHandle> for ObjectHandle
impl From<NvIndexHandle> for ObjectHandle
sourcefn from(handle_self: NvIndexHandle) -> ObjectHandle
fn from(handle_self: NvIndexHandle) -> ObjectHandle
Performs the conversion.
sourceimpl From<ObjectHandle> for ESYS_TR
impl From<ObjectHandle> for ESYS_TR
sourcefn from(handle: ObjectHandle) -> ESYS_TR
fn from(handle: ObjectHandle) -> ESYS_TR
Performs the conversion.
sourceimpl From<ObjectHandle> for AuthHandle
impl From<ObjectHandle> for AuthHandle
sourcefn from(handle_other: ObjectHandle) -> AuthHandle
fn from(handle_other: ObjectHandle) -> AuthHandle
Performs the conversion.
sourceimpl From<ObjectHandle> for NvIndexHandle
impl From<ObjectHandle> for NvIndexHandle
sourcefn from(handle_other: ObjectHandle) -> NvIndexHandle
fn from(handle_other: ObjectHandle) -> NvIndexHandle
Performs the conversion.
sourceimpl From<ObjectHandle> for KeyHandle
impl From<ObjectHandle> for KeyHandle
sourcefn from(handle_other: ObjectHandle) -> KeyHandle
fn from(handle_other: ObjectHandle) -> KeyHandle
Performs the conversion.
sourceimpl From<ObjectHandle> for SessionHandle
impl From<ObjectHandle> for SessionHandle
sourcefn from(handle_other: ObjectHandle) -> SessionHandle
fn from(handle_other: ObjectHandle) -> SessionHandle
Performs the conversion.
sourceimpl From<Owner> for ObjectHandle
impl From<Owner> for ObjectHandle
sourcefn from(owner: Owner) -> ObjectHandle
fn from(owner: Owner) -> ObjectHandle
Performs the conversion.
sourceimpl From<PcrHandle> for ObjectHandle
impl From<PcrHandle> for ObjectHandle
sourcefn from(constant_handle: PcrHandle) -> ObjectHandle
fn from(constant_handle: PcrHandle) -> ObjectHandle
Performs the conversion.
sourceimpl From<SessionHandle> for ObjectHandle
impl From<SessionHandle> for ObjectHandle
sourcefn from(handle_self: SessionHandle) -> ObjectHandle
fn from(handle_self: SessionHandle) -> ObjectHandle
Performs the conversion.
sourceimpl From<u32> for ObjectHandle
impl From<u32> for ObjectHandle
sourcefn from(tss_esys_object_handle: ESYS_TR) -> ObjectHandle
fn from(tss_esys_object_handle: ESYS_TR) -> ObjectHandle
Performs the conversion.
sourceimpl Hash for ObjectHandle
impl Hash for ObjectHandle
sourceimpl PartialEq<ObjectHandle> for ObjectHandle
impl PartialEq<ObjectHandle> for ObjectHandle
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ObjectHandle) -> bool
fn ne(&self, other: &ObjectHandle) -> bool
This method tests for !=
.
sourceimpl TryFrom<ObjectHandle> for PcrHandle
impl TryFrom<ObjectHandle> for PcrHandle
sourceimpl TryFrom<ObjectHandle> for Hierarchy
impl TryFrom<ObjectHandle> for Hierarchy
sourceimpl TryFrom<ObjectHandle> for Enables
impl TryFrom<ObjectHandle> for Enables
sourceimpl TryFrom<ObjectHandle> for HierarchyAuth
impl TryFrom<ObjectHandle> for HierarchyAuth
sourcefn try_from(object_handle: ObjectHandle) -> Result<HierarchyAuth>
fn try_from(object_handle: ObjectHandle) -> Result<HierarchyAuth>
Performs the conversion.
sourceimpl TryFrom<ObjectHandle> for Owner
impl TryFrom<ObjectHandle> for Owner
sourceimpl TryFrom<ObjectHandle> for Endorsement
impl TryFrom<ObjectHandle> for Endorsement
sourcefn try_from(object_handle: ObjectHandle) -> Result<Endorsement>
fn try_from(object_handle: ObjectHandle) -> Result<Endorsement>
Performs the conversion.
sourceimpl TryFrom<ObjectHandle> for Lockout
impl TryFrom<ObjectHandle> for Lockout
impl Copy for ObjectHandle
impl Eq for ObjectHandle
impl StructuralEq for ObjectHandle
impl StructuralPartialEq for ObjectHandle
Auto Trait Implementations
impl RefUnwindSafe for ObjectHandle
impl Send for ObjectHandle
impl Sync for ObjectHandle
impl Unpin for ObjectHandle
impl UnwindSafe for ObjectHandle
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more