Struct swagger::auth::AllowAllAuthenticator
source · pub struct AllowAllAuthenticator<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§
source§impl<T, RC> Clone for AllowAllAuthenticator<T, RC>where
T: Clone,
RC: RcBound,
RC::Result: Send + 'static,
impl<T, RC> Clone for AllowAllAuthenticator<T, RC>where T: Clone, RC: RcBound, RC::Result: Send + 'static,
source§impl<T: Debug, RC> Debug for AllowAllAuthenticator<T, RC>where
RC: RcBound + Debug,
RC::Result: Send + 'static,
impl<T: Debug, RC> Debug for AllowAllAuthenticator<T, RC>where RC: RcBound + Debug, RC::Result: Send + 'static,
source§impl<T, B, RC> Service<(Request<B>, RC)> for AllowAllAuthenticator<T, RC>where
RC: RcBound,
RC::Result: Send + 'static,
T: Service<(Request<B>, RC::Result)>,
impl<T, B, RC> Service<(Request<B>, RC)> for AllowAllAuthenticator<T, RC>where RC: RcBound, RC::Result: Send + 'static, T: Service<(Request<B>, RC::Result)>,
§type Response = <T as Service<(Request<B>, <RC as Push<Option<Authorization>>>::Result)>>::Response
type Response = <T as Service<(Request<B>, <RC as Push<Option<Authorization>>>::Result)>>::Response
Responses given by the service.
§type Error = <T as Service<(Request<B>, <RC as Push<Option<Authorization>>>::Result)>>::Error
type Error = <T as Service<(Request<B>, <RC as Push<Option<Authorization>>>::Result)>>::Error
Errors produced by the service.
§type Future = <T as Service<(Request<B>, <RC as Push<Option<Authorization>>>::Result)>>::Future
type Future = <T as Service<(Request<B>, <RC as Push<Option<Authorization>>>::Result)>>::Future
The future response value.
Auto Trait Implementations§
impl<T, RC> RefUnwindSafe for AllowAllAuthenticator<T, RC>where RC: RefUnwindSafe, T: RefUnwindSafe,
impl<T, RC> Send for AllowAllAuthenticator<T, RC>where T: Send,
impl<T, RC> Sync for AllowAllAuthenticator<T, RC>where RC: Sync, T: Sync,
impl<T, RC> Unpin for AllowAllAuthenticator<T, RC>where RC: Unpin, T: Unpin,
impl<T, RC> UnwindSafe for AllowAllAuthenticator<T, RC>where RC: UnwindSafe, T: UnwindSafe,
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