pub struct SecurityScopesError;Expand description
Error when SecurityScopes extraction fails.
This occurs when no security scopes have been configured for the route
(i.e., no SecurityScopesData extension exists on the request).
Trait Implementations§
Source§impl Clone for SecurityScopesError
impl Clone for SecurityScopesError
Source§fn clone(&self) -> SecurityScopesError
fn clone(&self) -> SecurityScopesError
Returns a duplicate of the value. Read more
1.0.0 · 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 SecurityScopesError
impl Debug for SecurityScopesError
Source§impl Display for SecurityScopesError
impl Display for SecurityScopesError
Source§impl Error for SecurityScopesError
impl Error for SecurityScopesError
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 IntoResponse for SecurityScopesError
impl IntoResponse for SecurityScopesError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Convert into a response.
Source§impl PartialEq for SecurityScopesError
impl PartialEq for SecurityScopesError
impl Copy for SecurityScopesError
impl Eq for SecurityScopesError
impl StructuralPartialEq for SecurityScopesError
Auto Trait Implementations§
impl Freeze for SecurityScopesError
impl RefUnwindSafe for SecurityScopesError
impl Send for SecurityScopesError
impl Sync for SecurityScopesError
impl Unpin for SecurityScopesError
impl UnwindSafe for SecurityScopesError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).