pub enum BootMode {
Attended,
Unattended,
}Expand description
The NetHSM boot mode
Defines in which state the NetHSM is in during boot after provisioning (see
crate::NetHsm::provision) and whether an unlock passphrase has to be provided for it to be
of state crate::SystemState::Operational.
Variants§
Attended
The device boots into state crate::SystemState::Locked and an unlock passphrase has to
be provided
Unattended
The device boots into state crate::SystemState::Operational and no unlock passphrase
has to be provided
Trait Implementations§
source§impl From<BootMode> for UnattendedBootConfig
impl From<BootMode> for UnattendedBootConfig
source§impl From<UnattendedBootConfig> for BootMode
impl From<UnattendedBootConfig> for BootMode
source§fn from(value: UnattendedBootConfig) -> Self
fn from(value: UnattendedBootConfig) -> Self
Converts to this type from the input type.
source§impl PartialEq for BootMode
impl PartialEq for BootMode
impl Eq for BootMode
impl StructuralPartialEq for BootMode
Auto Trait Implementations§
impl Freeze for BootMode
impl RefUnwindSafe for BootMode
impl Send for BootMode
impl Sync for BootMode
impl Unpin for BootMode
impl UnwindSafe for BootMode
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