pub trait PCRProvider {
fn pcr_0(&self) -> Option<&str>;
fn pcr_1(&self) -> Option<&str>;
fn pcr_2(&self) -> Option<&str>;
fn pcr_8(&self) -> Option<&str>;
fn to_string(&self) -> String { ... }
fn eq<T: PCRProvider>(&self, rhs: &T) -> bool { ... }
}
Expand description
Trait to allow custom implementations of PCR-like types. This helps to make the per language bindings more idiomatic.