pub struct BasicAuthMiddleware;Trait Implementations§
Source§impl<S> Transform<S, ServiceRequest> for BasicAuthMiddlewarewhere
S: Service<ServiceRequest, Response = ServiceResponse, Error = Error> + 'static,
S::Future: 'static,
impl<S> Transform<S, ServiceRequest> for BasicAuthMiddlewarewhere
S: Service<ServiceRequest, Response = ServiceResponse, Error = Error> + 'static,
S::Future: 'static,
Source§type Response = ServiceResponse
type Response = ServiceResponse
Responses produced by the service.
Source§type Transform = BasicAuthMiddlewareService<S>
type Transform = BasicAuthMiddlewareService<S>
The
TransformService value created by this factorySource§type Future = Ready<Result<<BasicAuthMiddleware as Transform<S, ServiceRequest>>::Transform, <BasicAuthMiddleware as Transform<S, ServiceRequest>>::InitError>>
type Future = Ready<Result<<BasicAuthMiddleware as Transform<S, ServiceRequest>>::Transform, <BasicAuthMiddleware as Transform<S, ServiceRequest>>::InitError>>
The future response value.
Source§fn new_transform(&self, service: S) -> Self::Future
fn new_transform(&self, service: S) -> Self::Future
Creates and returns a new Transform component, asynchronously
Auto Trait Implementations§
impl Freeze for BasicAuthMiddleware
impl RefUnwindSafe for BasicAuthMiddleware
impl Send for BasicAuthMiddleware
impl Sync for BasicAuthMiddleware
impl Unpin for BasicAuthMiddleware
impl UnwindSafe for BasicAuthMiddleware
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