pub struct AnonymousIdExtractor;Expand description
An ID extractor that always returns anonymous (no ID).
Implementations§
Trait Implementations§
Source§impl Clone for AnonymousIdExtractor
impl Clone for AnonymousIdExtractor
Source§fn clone(&self) -> AnonymousIdExtractor
fn clone(&self) -> AnonymousIdExtractor
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 AnonymousIdExtractor
impl Debug for AnonymousIdExtractor
Source§impl Default for AnonymousIdExtractor
impl Default for AnonymousIdExtractor
Source§fn default() -> AnonymousIdExtractor
fn default() -> AnonymousIdExtractor
Returns the “default value” for a type. Read more
Source§impl<B> IdExtractor<B> for AnonymousIdExtractor
impl<B> IdExtractor<B> for AnonymousIdExtractor
Source§fn extract_id(&self, _request: &Request<B>) -> IdExtractionResult
fn extract_id(&self, _request: &Request<B>) -> IdExtractionResult
Extract the user/resource ID from an HTTP request.
Auto Trait Implementations§
impl Freeze for AnonymousIdExtractor
impl RefUnwindSafe for AnonymousIdExtractor
impl Send for AnonymousIdExtractor
impl Sync for AnonymousIdExtractor
impl Unpin for AnonymousIdExtractor
impl UnwindSafe for AnonymousIdExtractor
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