pub enum ParallelHasherError {
MisalignedData,
OutOfBounds,
}Expand description
ParallelHasherError represents possible errors that could be returned by a ParallelHasher.
Variants§
MisalignedData
Data is not aligned on a block boundary.
OutOfBounds
Provided data is larger than possible.
Trait Implementations§
Source§impl Debug for ParallelHasherError
impl Debug for ParallelHasherError
Source§impl Display for ParallelHasherError
impl Display for ParallelHasherError
Source§impl Error for ParallelHasherError
impl Error for ParallelHasherError
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
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ParallelHasherError
impl RefUnwindSafe for ParallelHasherError
impl Send for ParallelHasherError
impl Sync for ParallelHasherError
impl Unpin for ParallelHasherError
impl UnsafeUnpin for ParallelHasherError
impl UnwindSafe for ParallelHasherError
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