[][src]Trait efivar::VarReaderEx

pub trait VarReaderEx {
    fn read_buf(&self, name: &VariableName) -> Result<(Vec<u8>, VariableFlags)>;
}

Represents the capability of reading EFI variables of a dynamic size

Required methods

fn read_buf(&self, name: &VariableName) -> Result<(Vec<u8>, VariableFlags)>

Read the EFI variable name and return its attributes and raw value

This function will allocate a large enough buffer to hold the resulting value and return it.

Arguments

  • name: name of the variable to read

Return value

On success, read bytes and associated EFI variable flags.

Loading content...

Implementors

Loading content...