[][src]Struct tss_esapi::utils::PcrBank

pub struct PcrBank { /* fields omitted */ }

Struct for holding PcrSlots and their corresponding values.

Implementations

impl PcrBank[src]

pub fn pcr_value(&self, pcr_slot: PcrSlot) -> Option<&Digest>[src]

Function for retrieving a pcr value corresponding to a pcr slot.

pub fn len(&self) -> usize[src]

Function for retrieiving the number of pcr slot values in the bank.

pub fn is_empty(&self) -> bool[src]

Returns true if there are no pcr slot values in the bank.

Trait Implementations

impl Clone for PcrBank[src]

impl Debug for PcrBank[src]

impl Eq for PcrBank[src]

impl<'a> IntoIterator for &'a PcrBank[src]

type Item = (&'a PcrSlot, &'a Digest)

The type of the elements being iterated over.

type IntoIter = Iter<'a, PcrSlot, Digest>

Which kind of iterator are we turning this into?

impl PartialEq<PcrBank> for PcrBank[src]

impl StructuralEq for PcrBank[src]

impl StructuralPartialEq for PcrBank[src]

Auto Trait Implementations

impl RefUnwindSafe for PcrBank

impl Send for PcrBank

impl Sync for PcrBank

impl Unpin for PcrBank

impl UnwindSafe for PcrBank

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.