pub enum JWSDecodeVerifyError {
SplitJWS(Error),
DecodeJWSParts(Error),
DeserializeJWSPayload(Error),
JWKFromPublicKeyJwk(JWKFromPublicKeyJwkError),
VerifyJWS(Error),
}Expand description
An error resulting from jws_decode_verify_inner
Variants§
SplitJWS(Error)
Unable to split JWS
DecodeJWSParts(Error)
Unable to decode JWS parts
DeserializeJWSPayload(Error)
Deserialize JWS payload
JWKFromPublicKeyJwk(JWKFromPublicKeyJwkError)
Unable to convert PublicKeyJwk to JWK
VerifyJWS(Error)
Unable to verify JWS
Trait Implementations§
Source§impl Debug for JWSDecodeVerifyError
impl Debug for JWSDecodeVerifyError
Source§impl Display for JWSDecodeVerifyError
impl Display for JWSDecodeVerifyError
Source§impl Error for JWSDecodeVerifyError
impl Error for JWSDecodeVerifyError
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<JWSDecodeVerifyError> for PartialVerificationError
impl From<JWSDecodeVerifyError> for PartialVerificationError
Source§fn from(source: JWSDecodeVerifyError) -> Self
fn from(source: JWSDecodeVerifyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JWSDecodeVerifyError
impl !RefUnwindSafe for JWSDecodeVerifyError
impl Send for JWSDecodeVerifyError
impl Sync for JWSDecodeVerifyError
impl Unpin for JWSDecodeVerifyError
impl !UnwindSafe for JWSDecodeVerifyError
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.