pub struct NoScopes;Expand description
The fail-secure default: no scope string means anything.
Every token is refused with Refusal::Unscoped until a deployment supplies
a real policy. That is the whole design — a missing configuration must deny,
and it must deny loudly with a reason that says it was a configuration
rather than a forged token.
Trait Implementations§
impl Copy for NoScopes
Source§impl ScopePolicy for NoScopes
impl ScopePolicy for NoScopes
Auto Trait Implementations§
impl Freeze for NoScopes
impl RefUnwindSafe for NoScopes
impl Send for NoScopes
impl Sync for NoScopes
impl Unpin for NoScopes
impl UnsafeUnpin for NoScopes
impl UnwindSafe for NoScopes
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