Struct salvo_extra::basic_auth::BasicAuthHandler [−][src]
pub struct BasicAuthHandler { /* fields omitted */ }
Implementations
impl BasicAuthHandler
[src]
impl BasicAuthHandler
[src]pub fn new(config: BasicAuthConfig) -> BasicAuthHandler
[src]
Trait Implementations
impl Handler for BasicAuthHandler
[src]
impl Handler for BasicAuthHandler
[src]fn handle<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
req: &'life1 mut Request,
depot: &'life2 mut Depot,
res: &'life3 mut Response
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
req: &'life1 mut Request,
depot: &'life2 mut Depot,
res: &'life3 mut Response
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for BasicAuthHandler
impl !RefUnwindSafe for BasicAuthHandler
impl Send for BasicAuthHandler
impl Send for BasicAuthHandler
impl Sync for BasicAuthHandler
impl Sync for BasicAuthHandler
impl Unpin for BasicAuthHandler
impl Unpin for BasicAuthHandler
impl !UnwindSafe for BasicAuthHandler
impl !UnwindSafe for BasicAuthHandler
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,