[][src]Trait efivar::VarWriter

pub trait VarWriter {
    fn write(
        &mut self,
        name: &VariableName,
        attributes: VariableFlags,
        value: &[u8]
    ) -> Result<()>; }

Represents the capability of writing EFI variables

Required methods

fn write(
    &mut self,
    name: &VariableName,
    attributes: VariableFlags,
    value: &[u8]
) -> Result<()>

Write the new value of the given EFI variable

Note that some implementations will ignore attribute changes.

Arguments

  • name: name of the variable to write
  • attributes: EFI variable attributes
  • value: EFI variable contents
Loading content...

Implementors

Loading content...