Struct warp::filter::service::FilteredService
source · pub struct FilteredService<F> {
filter: F,
}
Fields§
§filter: F
Implementations§
Trait Implementations§
source§impl<F: Clone> Clone for FilteredService<F>
impl<F: Clone> Clone for FilteredService<F>
source§fn clone(&self) -> FilteredService<F>
fn clone(&self) -> FilteredService<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<F: Debug> Debug for FilteredService<F>
impl<F: Debug> Debug for FilteredService<F>
source§impl<F> Service<Request<Body>> for FilteredService<F>
impl<F> Service<Request<Body>> for FilteredService<F>
§type Error = Infallible
type Error = Infallible
Errors produced by the service.
§type Future = FilteredFuture<<F as FilterBase>::Future>
type Future = FilteredFuture<<F as FilterBase>::Future>
The future response value.
impl<F: Copy> Copy for FilteredService<F>
Auto Trait Implementations§
impl<F> Freeze for FilteredService<F>where
F: Freeze,
impl<F> RefUnwindSafe for FilteredService<F>where
F: RefUnwindSafe,
impl<F> Send for FilteredService<F>where
F: Send,
impl<F> Sync for FilteredService<F>where
F: Sync,
impl<F> Unpin for FilteredService<F>where
F: Unpin,
impl<F> UnwindSafe for FilteredService<F>where
F: 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