pub struct UefiVars {
pub signatures: Option<Signatures>,
pub non_signature_vars: Vec<(String, UefiVar)>,
}Expand description
Collection of UEFI nvram variables that will be injected on first boot.
Fields§
§signatures: Option<Signatures>Secure Boot signature vars
non_signature_vars: Vec<(String, UefiVar)>UEFI vars that are not Secure Boot signature vars
Implementations§
Source§impl UefiVars
impl UefiVars
Sourcepub fn apply_delta(
self,
delta: UefiVarsDelta,
) -> Result<UefiVars, ApplyDeltaError>
pub fn apply_delta( self, delta: UefiVarsDelta, ) -> Result<UefiVars, ApplyDeltaError>
Apply a delta on top of an existing set of UEFI variables.
Trait Implementations§
Source§impl From<UefiVars> for BaseTemplateVars
impl From<UefiVars> for BaseTemplateVars
Auto Trait Implementations§
impl Freeze for UefiVars
impl RefUnwindSafe for UefiVars
impl Send for UefiVars
impl Sync for UefiVars
impl Unpin for UefiVars
impl UnsafeUnpin for UefiVars
impl UnwindSafe for UefiVars
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message].