Trait efivar::VarEnumerator

source ·
pub trait VarEnumerator {
    // Required method
    fn get_all_vars<'a>(
        &'a self
    ) -> Result<Box<dyn Iterator<Item = Variable> + 'a>>;
}
Expand description

Represents the capability of enumerating EFI variables

Required Methods§

source

fn get_all_vars<'a>(&'a self) -> Result<Box<dyn Iterator<Item = Variable> + 'a>>

Enumerates all known variables on the system. Returns a list of found variable names.

Implementors§