pub enum RestoreCodeChange {
Keep,
Write(SecretBytes),
Delete,
}Expand description
What PersonEntries::change_restore_code does with the entry it read.
Variants§
Keep
Leave the entry as it is, or absent.
Write(SecretBytes)
Replace the entry with these bytes.
Delete
Delete the entry.
Auto Trait Implementations§
impl Freeze for RestoreCodeChange
impl RefUnwindSafe for RestoreCodeChange
impl Send for RestoreCodeChange
impl Sync for RestoreCodeChange
impl Unpin for RestoreCodeChange
impl UnsafeUnpin for RestoreCodeChange
impl UnwindSafe for RestoreCodeChange
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