pub enum Hierarchy {
Owner,
Platform,
Endorsement,
Null,
}
Expand description
Hierarchy
Enum describing the object hierarchies in a TPM 2.0.
Variants§
Trait Implementations§
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 PartialEq for Hierarchy
impl PartialEq for Hierarchy
source§impl TryFrom<ObjectHandle> for Hierarchy
impl TryFrom<ObjectHandle> for Hierarchy
impl Copy for Hierarchy
impl Eq for Hierarchy
impl StructuralPartialEq for Hierarchy
Auto Trait Implementations§
impl Freeze for Hierarchy
impl RefUnwindSafe for Hierarchy
impl Send for Hierarchy
impl Sync for Hierarchy
impl Unpin for Hierarchy
impl UnwindSafe for Hierarchy
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