[][src]Trait efivar::VarEnumerator

pub trait VarEnumerator {
    fn get_var_names<'a>(
        &'a self
    ) -> Result<Box<dyn Iterator<Item = String> + 'a>>; }

Represents the capability of enumerating EFI variables

Required methods

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

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

Note that some implementations of VarEnumerator rely on a static list since the underlying OS is not capable of enumerating variables.

Loading content...

Implementors

Loading content...