pub struct NoopExtractor;
Expand description
Dummy metadata extractor
Trait Implementations§
Source§impl Clone for NoopExtractor
impl Clone for NoopExtractor
Source§fn clone(&self) -> NoopExtractor
fn clone(&self) -> NoopExtractor
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 NoopExtractor
impl Debug for NoopExtractor
Source§impl<M: Metadata + Default> MetaExtractor<M> for NoopExtractor
impl<M: Metadata + Default> MetaExtractor<M> for NoopExtractor
Source§fn extract(&self, _context: &RequestContext) -> M
fn extract(&self, _context: &RequestContext) -> M
Extract metadata for given session
Auto Trait Implementations§
impl Freeze for NoopExtractor
impl RefUnwindSafe for NoopExtractor
impl Send for NoopExtractor
impl Sync for NoopExtractor
impl Unpin for NoopExtractor
impl UnwindSafe for NoopExtractor
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