pub enum HyperDigestError {
HttpBodyError(String),
NoDigestHeader(String),
InvalidHeaderValue(String),
FailedToStrDigestHeader(ToStrError),
InvalidContentDigest(String),
InvalidContentDigestType(String),
}
Expand description
Error type for http signature for hyper
Variants§
HttpBodyError(String)
Http body error
NoDigestHeader(String)
No content-digest header found
InvalidHeaderValue(String)
Failed to parse header value
FailedToStrDigestHeader(ToStrError)
Failed to parse content digest headers
InvalidContentDigest(String)
Invalid content-digest
InvalidContentDigestType(String)
Invalid content-digest type
Trait Implementations§
Source§impl Debug for HyperDigestError
impl Debug for HyperDigestError
Source§impl Display for HyperDigestError
impl Display for HyperDigestError
Source§impl Error for HyperDigestError
impl Error for HyperDigestError
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<ToStrError> for HyperDigestError
impl From<ToStrError> for HyperDigestError
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 HyperDigestError
impl RefUnwindSafe for HyperDigestError
impl Send for HyperDigestError
impl Sync for HyperDigestError
impl Unpin for HyperDigestError
impl UnwindSafe for HyperDigestError
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