Enum fcaptcha::build_puzzle::BuildPuzzleError
source · pub enum BuildPuzzleError {
Encoding(EncodeSliceError),
Hashing(InvalidLength),
DataAccess,
Conversion,
TimeError(SystemTimeError),
Unknown,
}Expand description
Describes an error that occurred during building a puzzle.
Variants§
Encoding(EncodeSliceError)
Encoding failed.
Hashing(InvalidLength)
Hashing failed.
DataAccess
Data access failed.
Conversion
Data conversion failed.
TimeError(SystemTimeError)
Failed to get the time.
Unknown
Unknown error.
Trait Implementations§
source§impl Debug for BuildPuzzleError
impl Debug for BuildPuzzleError
source§impl Display for BuildPuzzleError
impl Display for BuildPuzzleError
source§impl Error for BuildPuzzleError
impl Error for BuildPuzzleError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<EncodeSliceError> for BuildPuzzleError
impl From<EncodeSliceError> for BuildPuzzleError
source§impl From<InvalidLength> for BuildPuzzleError
impl From<InvalidLength> for BuildPuzzleError
source§impl<T> From<PoisonError<T>> for BuildPuzzleError
impl<T> From<PoisonError<T>> for BuildPuzzleError
source§fn from(_err: PoisonError<T>) -> Self
fn from(_err: PoisonError<T>) -> Self
Converts to this type from the input type.
source§impl From<SystemTimeError> for BuildPuzzleError
impl From<SystemTimeError> for BuildPuzzleError
source§fn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BuildPuzzleError
impl Send for BuildPuzzleError
impl Sync for BuildPuzzleError
impl Unpin for BuildPuzzleError
impl UnwindSafe for BuildPuzzleError
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