Struct swagger::auth::MakeAllowAllAuthenticator
source · [−]pub struct MakeAllowAllAuthenticator<T, RC> where
RC: RcBound,
RC::Result: Send + 'static, { /* private fields */ }Expand description
Dummy Authenticator, that blindly inserts authorization data, allowing all access to an endpoint with the specified subject.
Implementations
Trait Implementations
sourceimpl<T: Debug, RC: Debug> Debug for MakeAllowAllAuthenticator<T, RC> where
RC: RcBound,
RC::Result: Send + 'static,
impl<T: Debug, RC: Debug> Debug for MakeAllowAllAuthenticator<T, RC> where
RC: RcBound,
RC::Result: Send + 'static,
sourceimpl<Inner, RC, Target> Service<Target> for MakeAllowAllAuthenticator<Inner, RC> where
RC: RcBound,
RC::Result: Send + 'static,
Inner: Service<Target>,
Inner::Future: Send + 'static,
impl<Inner, RC, Target> Service<Target> for MakeAllowAllAuthenticator<Inner, RC> where
RC: RcBound,
RC::Result: Send + 'static,
Inner: Service<Target>,
Inner::Future: Send + 'static,
type Error = <Inner as Service<Target>>::Error
type Error = <Inner as Service<Target>>::Error
Errors produced by the service.
type Response = AllowAllAuthenticator<<Inner as Service<Target>>::Response, RC>
type Response = AllowAllAuthenticator<<Inner as Service<Target>>::Response, RC>
Responses given by the service.
type Future = Pin<Box<dyn Future<Output = Result<<MakeAllowAllAuthenticator<Inner, RC> as Service<Target>>::Response, <MakeAllowAllAuthenticator<Inner, RC> as Service<Target>>::Error>> + Send + 'static, Global>>
type Future = Pin<Box<dyn Future<Output = Result<<MakeAllowAllAuthenticator<Inner, RC> as Service<Target>>::Response, <MakeAllowAllAuthenticator<Inner, RC> as Service<Target>>::Error>> + Send + 'static, Global>>
The future response value.
Auto Trait Implementations
impl<T, RC> RefUnwindSafe for MakeAllowAllAuthenticator<T, RC> where
RC: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, RC> Send for MakeAllowAllAuthenticator<T, RC> where
T: Send,
impl<T, RC> Sync for MakeAllowAllAuthenticator<T, RC> where
RC: Sync,
T: Sync,
impl<T, RC> Unpin for MakeAllowAllAuthenticator<T, RC> where
RC: Unpin,
T: Unpin,
impl<T, RC> UnwindSafe for MakeAllowAllAuthenticator<T, RC> where
RC: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more