Struct tss_esapi::utils::TpmsContext[][src]

pub struct TpmsContext { /* fields omitted */ }

Rust native wrapper for TPMS_CONTEXT objects.

This structure is intended to help with persisting object contexts. As the main reason for saving the context of an object is to be able to re-use it later, on demand, a serializable structure is most commonly needed. TpmsContext implements the Serialize and Deserialize defined by serde.

Trait Implementations

impl Clone for TpmsContext[src]

impl Debug for TpmsContext[src]

impl<'de> Deserialize<'de> for TpmsContext[src]

impl Drop for TpmsContext[src]

impl Serialize for TpmsContext[src]

impl TryFrom<TPMS_CONTEXT> for TpmsContext[src]

type Error = Error

The type returned in the event of a conversion error.

impl Zeroize for TpmsContext[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.