pub struct UefiConfig {
pub base_template: Option<BaseTemplate>,
pub custom_uefi_json: Option<UefiVarsDeltaJson>,
pub secure_boot: bool,
pub initial_generation_id: [u8; 16],
pub use_mmio: bool,
pub command_set: UefiCommandSet,
pub diagnostics_log_level: LogLevel,
pub diagnostics_rate_limit: Option<u32>,
}Expand description
Static configuration for the UEFI device.
Fields§
§base_template: Option<BaseTemplate>§custom_uefi_json: Option<UefiVarsDeltaJson>§secure_boot: bool§initial_generation_id: [u8; 16]§use_mmio: bool§command_set: UefiCommandSet§diagnostics_log_level: LogLevel§diagnostics_rate_limit: Option<u32>Trait Implementations§
Source§impl Clone for UefiConfig
impl Clone for UefiConfig
Source§fn clone(&self) -> UefiConfig
fn clone(&self) -> UefiConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DefaultEncoding for UefiConfig
impl DefaultEncoding for UefiConfig
Source§impl<'encoding, AnyR: 'static> StructDecodeMetadata<'encoding, AnyR> for UefiConfig
impl<'encoding, AnyR: 'static> StructDecodeMetadata<'encoding, AnyR> for UefiConfig
Source§impl<AnyR: 'static> StructEncodeMetadata<AnyR> for UefiConfig
impl<AnyR: 'static> StructEncodeMetadata<AnyR> for UefiConfig
Auto Trait Implementations§
impl Freeze for UefiConfig
impl RefUnwindSafe for UefiConfig
impl Send for UefiConfig
impl Sync for UefiConfig
impl Unpin for UefiConfig
impl UnsafeUnpin for UefiConfig
impl UnwindSafe for UefiConfig
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].