pub enum PrepareSignError {
Required(RequiredError),
Header(ToStrError),
}
Expand description
Errors produced when preparing to sign an Http Signature
Variants§
Required(RequiredError)
There was an error in the underlying library
Header(ToStrError)
There was an error producing a String from the HeaderValue
Trait Implementations§
Source§impl Debug for PrepareSignError
impl Debug for PrepareSignError
Source§impl Display for PrepareSignError
impl Display for PrepareSignError
Source§impl Error for PrepareSignError
impl Error for PrepareSignError
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<RequiredError> for PrepareSignError
impl From<RequiredError> for PrepareSignError
Source§fn from(e: RequiredError) -> Self
fn from(e: RequiredError) -> Self
Converts to this type from the input type.
Source§impl From<ToStrError> for PrepareSignError
impl From<ToStrError> for PrepareSignError
Source§fn from(e: ToStrError) -> Self
fn from(e: ToStrError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrepareSignError
impl RefUnwindSafe for PrepareSignError
impl Send for PrepareSignError
impl Sync for PrepareSignError
impl Unpin for PrepareSignError
impl UnwindSafe for PrepareSignError
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