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 IntoEnumIterator for BootMode
impl IntoEnumIterator for BootMode
type Iterator = BootModeIter
fn iter() -> BootModeIter ⓘ
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)