pub trait ImageSbat<'a>: Default {
// Required methods
fn entries(&self) -> &[Entry<'a>];
fn try_push(&mut self, entry: Entry<'a>) -> Result<(), PushError>;
// Provided method
fn parse(input: &'a [u8]) -> Result<Self, ParseError> { ... }
}Expand description
Trait for image SBAT metadata.
Typically this data comes from the .sbat section of a UEFI PE
executable.