[][src]Enum tss_esapi::utils::PublicParmsUnion

pub enum PublicParmsUnion {
    KeyedHashDetail(TPMS_KEYEDHASH_PARMS),
    SymDetail(Cipher),
    RsaDetail(TPMS_RSA_PARMS),
    EccDetail(TPMS_ECC_PARMS),
    AsymDetail(TPMS_ASYM_PARMS),
}

Rust enum representation of TPMU_PUBLIC_PARMS.

Variants

KeyedHashDetail(TPMS_KEYEDHASH_PARMS)
SymDetail(Cipher)
RsaDetail(TPMS_RSA_PARMS)
EccDetail(TPMS_ECC_PARMS)
AsymDetail(TPMS_ASYM_PARMS)

Implementations

impl PublicParmsUnion[src]

pub fn object_type(&self) -> TPMI_ALG_PUBLIC[src]

Get the object type corresponding to the value's variant.

Trait Implementations

impl Clone for PublicParmsUnion[src]

impl Copy for PublicParmsUnion[src]

impl From<PublicParmsUnion> for TPMU_PUBLIC_PARMS[src]

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.