pub enum Reset {
Done {
sessions_ended: usize,
passkeys_removed: usize,
},
NotSetUp,
Invalid(String),
}Expand description
The outcome of Operator::reset_password and reset_public_url.
Variants§
Done
Done; this many signed-in sessions were ended, and this many
passkeys removed: every one, by a password reset (plan 3c decision
2), or those bound to a host name public_url no longer has
(decision 9).
NotSetUp
The owner is not set up yet: setup is the way in.
Invalid(String)
The new password or public_url is not acceptable (why); nothing
changed.
Trait Implementations§
impl Eq for Reset
impl StructuralPartialEq for Reset
Auto Trait Implementations§
impl Freeze for Reset
impl RefUnwindSafe for Reset
impl Send for Reset
impl Sync for Reset
impl Unpin for Reset
impl UnsafeUnpin for Reset
impl UnwindSafe for Reset
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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