Struct fire_http::service::FireService
source · pub struct FireService { /* private fields */ }
Trait Implementations§
source§impl Service<Request<Body>> for FireService
impl Service<Request<Body>> for FireService
§type Error = Infallible
type Error = Infallible
Errors produced by the service.
§type Future = PinnedFuture<'static, Result<<FireService as Service<Request<Body>>>::Response, <FireService as Service<Request<Body>>>::Error>>
type Future = PinnedFuture<'static, Result<<FireService as Service<Request<Body>>>::Response, <FireService as Service<Request<Body>>>::Error>>
The future response value.
source§fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll<StdResult<(), Infallible>>
fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll<StdResult<(), Infallible>>
Returns
Poll::Ready(Ok(()))
when the service is able to process requests. Read moresource§fn call(&mut self, req: HyperRequest) -> Self::Future
fn call(&mut self, req: HyperRequest) -> Self::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FireService
impl Send for FireService
impl Sync for FireService
impl Unpin for FireService
impl !UnwindSafe for FireService
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