pub struct NvramServices { /* private fields */ }Expand description
Implements Hyper-V specific nvram service interfaces, extensions, and
functionality, deferring to the underlying NvramSpecServices object to
implement any UEFI spec mandated nvram service functionality.
Implementations§
Source§impl NvramServices
impl NvramServices
pub async fn new( nvram_storage: Box<dyn VmmNvramStorage>, base_template: Option<BaseTemplate>, custom_uefi_json: Option<UefiVarsDeltaJson>, secure_boot_enabled: bool, vsm_config: Option<Box<dyn VsmConfig>>, is_restoring: bool, ) -> Result<NvramServices, NvramSetupError>
pub fn reset(&mut self)
Trait Implementations§
Source§impl SaveRestore for NvramServices
impl SaveRestore for NvramServices
Auto Trait Implementations§
impl Freeze for NvramServices
impl !RefUnwindSafe for NvramServices
impl Send for NvramServices
impl !Sync for NvramServices
impl Unpin for NvramServices
impl UnsafeUnpin for NvramServices
impl !UnwindSafe for NvramServices
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