pub enum PrepareVerifyError {
Validate(ValidateError),
Parse(ParseSignatureError),
Required(RequiredError),
}
Expand description
Error preparing a header for validation
This could be due to a missing header, and unparsable header, or an expired header
Variants§
Validate(ValidateError)
Error validating the header
Parse(ParseSignatureError)
Error parsing the header
Required(RequiredError)
Missing required headers
Trait Implementations§
Source§impl Debug for PrepareVerifyError
impl Debug for PrepareVerifyError
Source§impl Display for PrepareVerifyError
impl Display for PrepareVerifyError
Source§impl Error for PrepareVerifyError
impl Error for PrepareVerifyError
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<ParseSignatureError> for PrepareVerifyError
impl From<ParseSignatureError> for PrepareVerifyError
Source§fn from(e: ParseSignatureError) -> Self
fn from(e: ParseSignatureError) -> Self
Converts to this type from the input type.
Source§impl From<RequiredError> for PrepareVerifyError
impl From<RequiredError> for PrepareVerifyError
Source§fn from(e: RequiredError) -> Self
fn from(e: RequiredError) -> Self
Converts to this type from the input type.
Source§impl From<ValidateError> for PrepareVerifyError
impl From<ValidateError> for PrepareVerifyError
Source§fn from(e: ValidateError) -> Self
fn from(e: ValidateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrepareVerifyError
impl RefUnwindSafe for PrepareVerifyError
impl Send for PrepareVerifyError
impl Sync for PrepareVerifyError
impl Unpin for PrepareVerifyError
impl UnwindSafe for PrepareVerifyError
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