pub struct CompositeExtractor { /* private fields */ }Expand description
Composite extractor that tries multiple sources.
Implementations§
Source§impl CompositeExtractor
impl CompositeExtractor
Sourcepub fn add<E: TenantExtractor + 'static>(self, extractor: E) -> Self
pub fn add<E: TenantExtractor + 'static>(self, extractor: E) -> Self
Add an extractor.
Trait Implementations§
Source§impl Default for CompositeExtractor
impl Default for CompositeExtractor
Auto Trait Implementations§
impl Freeze for CompositeExtractor
impl !RefUnwindSafe for CompositeExtractor
impl Send for CompositeExtractor
impl Sync for CompositeExtractor
impl Unpin for CompositeExtractor
impl !UnwindSafe for CompositeExtractor
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