Struct ntex::io::utils::FilterService [−][src]
pub struct FilterService<T, F> { /* fields omitted */ }
Trait Implementations
impl<T, F> Service<Io<F>> for FilterService<T, F> where
T: FilterFactory<F> + Clone,
F: Filter,
impl<T, F> Service<Io<F>> for FilterService<T, F> where
T: FilterFactory<F> + Clone,
F: Filter,
type Response = Io<<T as FilterFactory<F>>::Filter>
type Response = Io<<T as FilterFactory<F>>::Filter>
Responses given by the service.
type Error = <T as FilterFactory<F>>::Error
type Error = <T as FilterFactory<F>>::Error
Errors produced by the service.
type Future = <T as FilterFactory<F>>::Future
type Future = <T as FilterFactory<F>>::Future
The future response value.
pub fn poll_ready(
&self,
&mut Context<'_>
) -> Poll<Result<(), <FilterService<T, F> as Service<Io<F>>>::Error>>
pub fn poll_ready(
&self,
&mut Context<'_>
) -> Poll<Result<(), <FilterService<T, F> as Service<Io<F>>>::Error>>
Returns Ready
when the service is able to process requests. Read more
Process the request and return the response asynchronously. Read more
Shutdown service. Read more
Map this service’s output to a different type, returning a new service of the resulting type. Read more
Auto Trait Implementations
impl<T, F> RefUnwindSafe for FilterService<T, F> where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> Send for FilterService<T, F> where
F: Send,
T: Send,
impl<T, F> Sync for FilterService<T, F> where
F: Sync,
T: Sync,
impl<T, F> Unpin for FilterService<T, F> where
F: Unpin,
T: Unpin,
impl<T, F> UnwindSafe for FilterService<T, F> where
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service
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