pub enum CheckHashResult {
Valid,
PasswordTooLong,
InvalidHash(InvalidHash),
Invalid,
}
Expand description
The result type returned by check_hash
.
Variants§
Trait Implementations§
Source§impl Debug for CheckHashResult
impl Debug for CheckHashResult
Source§impl PartialEq for CheckHashResult
impl PartialEq for CheckHashResult
impl StructuralPartialEq for CheckHashResult
Auto Trait Implementations§
impl Freeze for CheckHashResult
impl RefUnwindSafe for CheckHashResult
impl Send for CheckHashResult
impl Sync for CheckHashResult
impl Unpin for CheckHashResult
impl UnwindSafe for CheckHashResult
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