pub enum HashingError {
InvalidMessage(String),
TooLong,
InvalidKey,
}Variants§
Trait Implementations§
Source§impl Debug for HashingError
impl Debug for HashingError
Source§impl Display for HashingError
impl Display for HashingError
Source§impl Error for HashingError
impl Error for HashingError
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()
Source§impl From<HashingError> for ClaimsPreparationError
impl From<HashingError> for ClaimsPreparationError
Source§fn from(source: HashingError) -> Self
fn from(source: HashingError) -> Self
Converts to this type from the input type.
Source§impl From<HashingError> for ProofValidationError
impl From<HashingError> for ProofValidationError
Source§fn from(value: HashingError) -> Self
fn from(value: HashingError) -> Self
Converts to this type from the input type.
Source§impl From<HashingError> for SignatureError
impl From<HashingError> for SignatureError
Source§fn from(value: HashingError) -> Self
fn from(value: HashingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HashingError
impl RefUnwindSafe for HashingError
impl Send for HashingError
impl Sync for HashingError
impl Unpin for HashingError
impl UnsafeUnpin for HashingError
impl UnwindSafe for HashingError
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.