pub struct RequestObjectKeyError(/* private fields */);Available on crate feature
jar and (crate features jar or par) only.Expand description
A public key was not usable as a request object verification key. Carries no key material.
The payload is sealed and read through RequestObjectKeyError::detail, matching
crate::token_exchange::UnknownTokenTypeIdentifier: both are one-payload rejections, both
are readable, and neither can be forged by a caller.
Implementations§
Trait Implementations§
Source§impl Clone for RequestObjectKeyError
impl Clone for RequestObjectKeyError
Source§fn clone(&self) -> RequestObjectKeyError
fn clone(&self) -> RequestObjectKeyError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequestObjectKeyError
impl Debug for RequestObjectKeyError
Source§impl Display for RequestObjectKeyError
impl Display for RequestObjectKeyError
impl Eq for RequestObjectKeyError
Source§impl Error for RequestObjectKeyError
impl Error for RequestObjectKeyError
1.30.0 · 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 PartialEq for RequestObjectKeyError
impl PartialEq for RequestObjectKeyError
impl StructuralPartialEq for RequestObjectKeyError
Auto Trait Implementations§
impl Freeze for RequestObjectKeyError
impl RefUnwindSafe for RequestObjectKeyError
impl Send for RequestObjectKeyError
impl Sync for RequestObjectKeyError
impl Unpin for RequestObjectKeyError
impl UnsafeUnpin for RequestObjectKeyError
impl UnwindSafe for RequestObjectKeyError
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