pub struct AcceptAllValidator;Expand description
A simple token validator that accepts any non-empty token
This is useful for testing or when token validation is handled elsewhere.
Trait Implementations§
Source§impl TokenValidator for AcceptAllValidator
impl TokenValidator for AcceptAllValidator
Auto Trait Implementations§
impl Freeze for AcceptAllValidator
impl RefUnwindSafe for AcceptAllValidator
impl Send for AcceptAllValidator
impl Sync for AcceptAllValidator
impl Unpin for AcceptAllValidator
impl UnwindSafe for AcceptAllValidator
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