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.

Required Methods§

source

fn pcr_0(&self) -> Option<&str>

source

fn pcr_1(&self) -> Option<&str>

source

fn pcr_2(&self) -> Option<&str>

source

fn pcr_8(&self) -> Option<&str>

Provided Methods§

source

fn to_string(&self) -> String

source

fn eq<T: PCRProvider>(&self, rhs: &T) -> bool

Implementors§