pub enum ScryptError {
InvalidN,
InvalidP,
ScryptParam(InvalidParams),
ScryptLength(InvalidOutputLen),
}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 source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<InvalidOutputLen> for ScryptError
impl From<InvalidOutputLen> for ScryptError
Source§fn from(e: InvalidOutputLen) -> ScryptError
fn from(e: InvalidOutputLen) -> ScryptError
Converts to this type from the input type.
Source§impl From<InvalidParams> for ScryptError
impl From<InvalidParams> for ScryptError
Source§fn from(e: InvalidParams) -> ScryptError
fn from(e: InvalidParams) -> ScryptError
Converts to this type from the input type.
Source§impl From<ScryptError> for Error
impl From<ScryptError> for Error
Source§fn from(e: ScryptError) -> Error
fn from(e: ScryptError) -> Error
Converts to this type from the input type.
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