pub enum SignatureError<E: Error + Send> {
Sign(SignError),
Reqwest(Error),
Signer(E),
}Expand description
The error produced hile signing a request
Variants§
Sign(SignError)
Signature errors
Reqwest(Error)
Reqwest errors
Signer(E)
Cryptography-specified signing errors
Trait Implementations§
Source§impl<E> Display for SignatureError<E>
impl<E> Display for SignatureError<E>
Source§impl<E> Error for SignatureError<E>
impl<E> Error for SignatureError<E>
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<E: Error + Send> From<SignatureError<E>> for ReqwestError<E>
impl<E: Error + Send> From<SignatureError<E>> for ReqwestError<E>
Source§fn from(source: SignatureError<E>) -> Self
fn from(source: SignatureError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Freeze for SignatureError<E>where
E: Freeze,
impl<E> !RefUnwindSafe for SignatureError<E>
impl<E> Send for SignatureError<E>
impl<E> Sync for SignatureError<E>where
E: Sync,
impl<E> Unpin for SignatureError<E>where
E: Unpin,
impl<E> !UnwindSafe for SignatureError<E>
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