pub struct HashPreimageError { /* private fields */ }Expand description
An hash and hash preimage do not match.
Trait Implementations§
Source§impl Clone for HashPreimageError
impl Clone for HashPreimageError
Source§fn clone(&self) -> HashPreimageError
fn clone(&self) -> HashPreimageError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HashPreimageError
impl Debug for HashPreimageError
Source§impl Display for HashPreimageError
impl Display for HashPreimageError
Source§impl Error for HashPreimageError
Available on crate feature std only.
impl Error for HashPreimageError
Available on crate feature
std only.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()
Source§impl From<HashPreimageError> for InsertPairError
impl From<HashPreimageError> for InsertPairError
Source§fn from(e: HashPreimageError) -> Self
fn from(e: HashPreimageError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HashPreimageError
impl PartialEq for HashPreimageError
impl Eq for HashPreimageError
impl StructuralPartialEq for HashPreimageError
Auto Trait Implementations§
impl Freeze for HashPreimageError
impl RefUnwindSafe for HashPreimageError
impl Send for HashPreimageError
impl Sync for HashPreimageError
impl Unpin for HashPreimageError
impl UnsafeUnpin for HashPreimageError
impl UnwindSafe for HashPreimageError
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