pub struct BearerTokens { /* private fields */ }Expand description
Validated set of bearer tokens.
Wraps an Arc<HashSet<String>> for cheap cloning into middleware closures.
Implementations§
Trait Implementations§
Source§impl Clone for BearerTokens
impl Clone for BearerTokens
Source§fn clone(&self) -> BearerTokens
fn clone(&self) -> BearerTokens
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 moreAuto Trait Implementations§
impl Freeze for BearerTokens
impl RefUnwindSafe for BearerTokens
impl Send for BearerTokens
impl Sync for BearerTokens
impl Unpin for BearerTokens
impl UnsafeUnpin for BearerTokens
impl UnwindSafe for BearerTokens
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