[][src]Enum tss_esapi::utils::Hierarchy

pub enum Hierarchy {
    Null,
    Owner,
    Platform,
    Endorsement,
}

Enum describing the object hierarchies in a TPM 2.0.

Variants

Null
Owner
Platform
Endorsement

Implementations

impl Hierarchy[src]

pub fn esys_rh(self) -> TPMI_RH_HIERARCHY[src]

Get the ESYS resource handle for the hierarchy.

pub fn rh(self) -> TPM2_RH[src]

Get the TPM resource handle for the hierarchy.

Trait Implementations

impl Clone for Hierarchy[src]

impl Copy for Hierarchy[src]

impl Debug for Hierarchy[src]

impl Eq for Hierarchy[src]

impl From<NvAuthorization> for Hierarchy[src]

impl PartialEq<Hierarchy> for Hierarchy[src]

impl StructuralEq for Hierarchy[src]

impl StructuralPartialEq for Hierarchy[src]

impl TryFrom<Hierarchy> for NvAuthorization[src]

type Error = Error

The type returned in the event of a conversion error.

impl TryFrom<u32> for Hierarchy[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Free for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.