Enum picky::jose::jwk::JwkError [−][src]
pub enum JwkError { Json { source: Error, }, Base64Decoding { source: DecodeError, }, UnsupportedAlgorithm { algorithm: &'static str, }, }
Variants
Json error
Show fields
Fields of Json
source: Error
couldn’t decode base64
Show fields
Fields of Base64Decoding
source: DecodeError
unsupported algorithm
Show fields
Fields of UnsupportedAlgorithm
algorithm: &'static str
Trait Implementations
impl Error for JwkError
[src]
impl Error for JwkError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<DecodeError> for JwkError
[src]
impl From<DecodeError> for JwkError
[src]fn from(e: DecodeError) -> Self
[src]
fn from(e: DecodeError) -> Self
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for JwkError
impl Send for JwkError
impl Sync for JwkError
impl Unpin for JwkError
impl !UnwindSafe for JwkError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,