pub enum HyperSigError {
NoSignatureHeaders(String),
FailedToStrSignatureHeaders(ToStrError),
InvalidHeaderValue(InvalidHeaderValue),
InvalidComponentName(String),
InvalidComponentParam(String),
InvalidSignature(String),
HttpSigError(HttpSigError),
}
Expand description
Error type for http signature for hyper
Variants§
NoSignatureHeaders(String)
No signature headers found
FailedToStrSignatureHeaders(ToStrError)
Failed to parse signature headers
InvalidHeaderValue(InvalidHeaderValue)
Failed to parse header value
InvalidComponentName(String)
Invalid component name
InvalidComponentParam(String)
Invalid component param
InvalidSignature(String)
Invalid signature
HttpSigError(HttpSigError)
Inherited from HttpSigError
Trait Implementations§
Source§impl Debug for HyperSigError
impl Debug for HyperSigError
Source§impl Display for HyperSigError
impl Display for HyperSigError
Source§impl Error for HyperSigError
impl Error for HyperSigError
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<HttpSigError> for HyperSigError
impl From<HttpSigError> for HyperSigError
Source§fn from(source: HttpSigError) -> Self
fn from(source: HttpSigError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidHeaderValue> for HyperSigError
impl From<InvalidHeaderValue> for HyperSigError
Source§fn from(source: InvalidHeaderValue) -> Self
fn from(source: InvalidHeaderValue) -> Self
Converts to this type from the input type.
Source§impl From<ToStrError> for HyperSigError
impl From<ToStrError> for HyperSigError
Source§fn from(source: ToStrError) -> Self
fn from(source: ToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HyperSigError
impl RefUnwindSafe for HyperSigError
impl Send for HyperSigError
impl Sync for HyperSigError
impl Unpin for HyperSigError
impl UnwindSafe for HyperSigError
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