pub enum ScryptError {
RIsTooSmall,
NIsTooSmall,
NIsNotAPowerOfTwo,
PIsTooSmall,
}Variants§
Trait Implementations§
Source§impl Debug for ScryptError
impl Debug for ScryptError
Source§impl Display for ScryptError
impl Display for ScryptError
Source§impl Error for ScryptError
impl Error for ScryptError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
Source§impl PartialEq for ScryptError
impl PartialEq for ScryptError
impl StructuralPartialEq for ScryptError
Auto Trait Implementations§
impl Freeze for ScryptError
impl RefUnwindSafe for ScryptError
impl Send for ScryptError
impl Sync for ScryptError
impl Unpin for ScryptError
impl UnwindSafe for ScryptError
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