Struct jsonrpsee_server::middleware::http::HostFilter
source · pub struct HostFilter<S> { /* private fields */ }Expand description
Middleware to enable host filtering.
Trait Implementations§
source§impl<S: Debug> Debug for HostFilter<S>
impl<S: Debug> Debug for HostFilter<S>
source§impl<S> Service<Request<Body>> for HostFilter<S>
impl<S> Service<Request<Body>> for HostFilter<S>
§type Future = Pin<Box<dyn Future<Output = Result<<HostFilter<S> as Service<Request<Body>>>::Response, <HostFilter<S> as Service<Request<Body>>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<HostFilter<S> as Service<Request<Body>>>::Response, <HostFilter<S> as Service<Request<Body>>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl<S> Freeze for HostFilter<S>where
S: Freeze,
impl<S> RefUnwindSafe for HostFilter<S>where
S: RefUnwindSafe,
impl<S> Send for HostFilter<S>where
S: Send,
impl<S> Sync for HostFilter<S>where
S: Sync,
impl<S> Unpin for HostFilter<S>where
S: Unpin,
impl<S> UnwindSafe for HostFilter<S>where
S: 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