Module variable

Source
Expand description

UEFI variable storage helpers.

These store a value into a UEFI variable in a custom vendor namespace.

Enums§

VarError
An Error that may result from attempting to get value from a UEFI variable.

Traits§

UefiVariable
A value that can be stored in a UEFI variable.

Functions§

get_variable
Gets a UEFI variable of a UefiVariable given the name
get_variable_str
Gets a UEFI variable of a CStr16 slice given the name
set_variable
Sets a UEFI variable to a UefiVariable given the name.
set_variable_str
Sets a UEFI variable to an CStr16 slice given the name.
set_variable_u16_slice
Sets a UEFI variable to a u16 slice given the name.