pub enum SigningBuildError<E> {
DigestAlgorithmMismatch,
Hasher(E),
Digest(SigningValueError),
Input(SigningInputError),
}Expand description
Body hashing and canonical signing-input construction failure.
Variants§
DigestAlgorithmMismatch
The hasher and signed context declare different digest algorithms.
Hasher(E)
The caller-provided body hasher rejected the exact request body.
Digest(SigningValueError)
The hasher returned an empty or out-of-bounds digest.
Input(SigningInputError)
Canonical input validation or encoding failed.
Trait Implementations§
Source§impl<E> Debug for SigningBuildError<E>
impl<E> Debug for SigningBuildError<E>
Source§impl<E> Display for SigningBuildError<E>
impl<E> Display for SigningBuildError<E>
Source§impl<E> Error for SigningBuildError<E>where
E: Error + 'static,
impl<E> Error for SigningBuildError<E>where
E: Error + 'static,
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<E> Freeze for SigningBuildError<E>where
E: Freeze,
impl<E> RefUnwindSafe for SigningBuildError<E>where
E: RefUnwindSafe,
impl<E> Send for SigningBuildError<E>where
E: Send,
impl<E> Sync for SigningBuildError<E>where
E: Sync,
impl<E> Unpin for SigningBuildError<E>where
E: Unpin,
impl<E> UnsafeUnpin for SigningBuildError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for SigningBuildError<E>where
E: UnwindSafe,
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