pub enum HierarchyAuth {
Owner,
Platform,
Endorsement,
Lockout,
}
Expand description
HierarchyAuth
Variants§
Trait Implementations§
source§impl Clone for HierarchyAuth
impl Clone for HierarchyAuth
source§fn clone(&self) -> HierarchyAuth
fn clone(&self) -> HierarchyAuth
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 HierarchyAuth
impl Debug for HierarchyAuth
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<HierarchyAuth> for TpmHandle
impl From<HierarchyAuth> for TpmHandle
source§fn from(hierarchy_auth: HierarchyAuth) -> TpmHandle
fn from(hierarchy_auth: HierarchyAuth) -> TpmHandle
Converts to this type from the input type.
source§impl PartialEq<HierarchyAuth> for HierarchyAuth
impl PartialEq<HierarchyAuth> for HierarchyAuth
source§fn eq(&self, other: &HierarchyAuth) -> bool
fn eq(&self, other: &HierarchyAuth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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.
source§impl TryFrom<TpmHandle> for HierarchyAuth
impl TryFrom<TpmHandle> for HierarchyAuth
impl Copy for HierarchyAuth
impl Eq for HierarchyAuth
impl StructuralEq for HierarchyAuth
impl StructuralPartialEq for HierarchyAuth
Auto Trait Implementations§
impl RefUnwindSafe for HierarchyAuth
impl Send for HierarchyAuth
impl Sync for HierarchyAuth
impl Unpin for HierarchyAuth
impl UnwindSafe for HierarchyAuth
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