pub enum LockState {
Locked,
Unlocked,
Unknown,
}Expand description
The app’s lock state, as input to a restart (the lock mirror itself stays the app’s: a
replacement core starts locked exactly when the app says the lock blocked its data).
Unknown is the state of an unlock (or lock) request that got no answer
because the child died first: it starts the replacement locked, so an unanswered unlock
can never restart a child unlocked.
Variants§
Implementations§
Trait Implementations§
impl Copy for LockState
impl Eq for LockState
impl StructuralPartialEq for LockState
Auto Trait Implementations§
impl Freeze for LockState
impl RefUnwindSafe for LockState
impl Send for LockState
impl Sync for LockState
impl Unpin for LockState
impl UnsafeUnpin for LockState
impl UnwindSafe for LockState
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