Struct tss_esapi::utils::PcrData [−][src]
Struct holding pcr banks and their associated hashing algorithm
Implementations
impl PcrData[src]
pub fn new(
tpml_pcr_selections: &TPML_PCR_SELECTION,
tpml_digests: &TPML_DIGEST
) -> Result<Self>[src]
tpml_pcr_selections: &TPML_PCR_SELECTION,
tpml_digests: &TPML_DIGEST
) -> Result<Self>
Contrustctor that creates a PcrData from tss types.
pub fn pcr_bank(&self, hashing_algorithm: HashingAlgorithm) -> Option<&PcrBank>[src]
Function for retriving a bank associated with the hashing_algorithm.
pub fn len(&self) -> usize[src]
Function for retrieving the number of banks in the data.
pub fn is_empty(&self) -> bool[src]
Returns true if there are no banks in the data.
Trait Implementations
impl Clone for PcrData[src]
impl Debug for PcrData[src]
impl Eq for PcrData[src]
impl<'a> IntoIterator for &'a PcrData[src]
type Item = (&'a HashingAlgorithm, &'a PcrBank)
The type of the elements being iterated over.
type IntoIter = Iter<'a, HashingAlgorithm, PcrBank>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter[src]
impl PartialEq<PcrData> for PcrData[src]
impl StructuralEq for PcrData[src]
impl StructuralPartialEq for PcrData[src]
Auto Trait Implementations
impl RefUnwindSafe for PcrData
impl Send for PcrData
impl Sync for PcrData
impl Unpin for PcrData
impl UnwindSafe for PcrData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,