pub struct SecureBoot<B: Bmc> { /* private fields */ }Expand description
Secure boot.
Provides functions to access Secure Boot functions.
Implementations§
Source§impl<B: Bmc> SecureBoot<B>
impl<B: Bmc> SecureBoot<B>
Sourcepub fn secure_boot_enable(&self) -> Option<bool>
pub fn secure_boot_enable(&self) -> Option<bool>
Get an indication of whether UEFI Secure Boot is enabled.
Sourcepub fn secure_boot_current_boot(&self) -> Option<SecureBootCurrentBootType>
pub fn secure_boot_current_boot(&self) -> Option<SecureBootCurrentBootType>
The UEFI Secure Boot state during the current boot cycle.
Auto Trait Implementations§
impl<B> Freeze for SecureBoot<B>
impl<B> RefUnwindSafe for SecureBoot<B>where
B: RefUnwindSafe,
impl<B> Send for SecureBoot<B>
impl<B> Sync for SecureBoot<B>
impl<B> Unpin for SecureBoot<B>where
B: Unpin,
impl<B> UnsafeUnpin for SecureBoot<B>
impl<B> UnwindSafe for SecureBoot<B>where
B: UnwindSafe,
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