[][src]Struct tss_esapi::utils::TpmaSession

pub struct TpmaSession(_);

Rust native wrapper for session attributes objects.

Methods

impl TpmaSession[src]

pub fn new() -> TpmaSession[src]

Create a new session attributes object.

pub fn with_flag(self, flag: TPMA_SESSION) -> Self[src]

Set flag.

pub fn mask(self) -> TPMA_SESSION[src]

Get mask for all set flags.

pub fn flags(self) -> TPMA_SESSION[src]

Get all set flags.

Trait Implementations

impl Clone for TpmaSession[src]

impl Copy for TpmaSession[src]

impl Debug for TpmaSession[src]

impl Default for TpmaSession[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.