Struct actix_ip_filter::IPFilterMiddleware [−][src]
pub struct IPFilterMiddleware<S> { /* fields omitted */ }Trait Implementations
impl<S, B> Service<ServiceRequest> for IPFilterMiddleware<S> where
S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
S::Future: 'static,
B: MessageBody + 'static,
B::Error: StdError,
impl<S, B> Service<ServiceRequest> for IPFilterMiddleware<S> where
S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error> + 'static,
S::Future: 'static,
B: MessageBody + 'static,
B::Error: StdError,
type Response = ServiceResponse
type Response = ServiceResponse
Responses given by the service.
type Future = LocalBoxFuture<'static, Result<ServiceResponse, Error>>
type Future = LocalBoxFuture<'static, Result<ServiceResponse, Error>>
The future response value.
Returns Ready when the service is able to process requests. Read more
Process the request and return the response asynchronously. Read more
Auto Trait Implementations
impl<S> RefUnwindSafe for IPFilterMiddleware<S> where
S: RefUnwindSafe,
impl<S> !Send for IPFilterMiddleware<S>
impl<S> !Sync for IPFilterMiddleware<S>
impl<S> Unpin for IPFilterMiddleware<S>
impl<S> UnwindSafe for IPFilterMiddleware<S> where
S: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more