pub struct Service<S, E> { /* private fields */ }Trait Implementations§
Source§impl<S, E> Service<Request<Body>> for Service<S, E>
impl<S, E> Service<Request<Body>> for Service<S, E>
Source§type Future = Pin<Box<dyn Future<Output = Result<<Service<S, E> as Service<Request<Body>>>::Response, <Service<S, E> as Service<Request<Body>>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<Service<S, E> as Service<Request<Body>>>::Response, <Service<S, E> as Service<Request<Body>>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl<S, E> Freeze for Service<S, E>where
S: Freeze,
impl<S, E> !RefUnwindSafe for Service<S, E>
impl<S, E> Send for Service<S, E>
impl<S, E> Sync for Service<S, E>
impl<S, E> Unpin for Service<S, E>
impl<S, E> !UnwindSafe for Service<S, E>
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