pub struct UefiConfig {
pub secure_boot_enabled: bool,
pub secure_boot_template: Option<SecureBootTemplate>,
pub disable_frontpage: bool,
pub default_boot_always_attempt: bool,
}Expand description
UEFI firmware configuration
Fields§
§secure_boot_enabled: boolEnable secure boot
secure_boot_template: Option<SecureBootTemplate>Secure boot template
disable_frontpage: boolDisable the UEFI frontpage which will cause the VM to shutdown instead when unable to boot.
default_boot_always_attempt: boolAlways attempt a default boot
Trait Implementations§
Source§impl Debug for UefiConfig
impl Debug 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 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