Skip to main content

efivar_fix/
enumerator.rs

1use crate::efi::Variable;
2
3/// Represents the capability of enumerating EFI variables
4pub trait VarEnumerator {
5    /// Enumerates all known variables on the system. Returns a list of found variable names.
6    fn get_all_vars<'a>(&'a self) -> crate::Result<Box<dyn Iterator<Item = Variable> + 'a>>;
7}