Struct tower_async_hyper::HyperServiceWrapper
source · pub struct HyperServiceWrapper<S> { /* private fields */ }
Expand description
A wrapper around a tower_async::Service
that implements hyper::service::Service
.
Trait Implementations§
source§impl<S: Clone> Clone for HyperServiceWrapper<S>
impl<S: Clone> Clone for HyperServiceWrapper<S>
source§fn clone(&self) -> HyperServiceWrapper<S>
fn clone(&self) -> HyperServiceWrapper<S>
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<S: Debug> Debug for HyperServiceWrapper<S>
impl<S: Debug> Debug for HyperServiceWrapper<S>
source§impl<S, Request> Service<Request> for HyperServiceWrapper<S>where
S: Service<Request, call: Send> + Send + Sync + 'static,
Request: Send + 'static,
impl<S, Request> Service<Request> for HyperServiceWrapper<S>where S: Service<Request, call: Send> + Send + Sync + 'static, Request: Send + 'static,
Auto Trait Implementations§
impl<S> RefUnwindSafe for HyperServiceWrapper<S>where S: RefUnwindSafe,
impl<S> Send for HyperServiceWrapper<S>where S: Send + Sync,
impl<S> Sync for HyperServiceWrapper<S>where S: Send + Sync,
impl<S> Unpin for HyperServiceWrapper<S>
impl<S> UnwindSafe for HyperServiceWrapper<S>where S: RefUnwindSafe,
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