pub struct TowerHyperService<S> { /* private fields */ }Expand description
A hyper service that wraps a tower service.
Implementations§
Source§impl<S> TowerHyperService<S>
impl<S> TowerHyperService<S>
Trait Implementations§
Source§impl<S: Clone> Clone for TowerHyperService<S>
impl<S: Clone> Clone for TowerHyperService<S>
Source§fn clone(&self) -> TowerHyperService<S>
fn clone(&self) -> TowerHyperService<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug> Debug for TowerHyperService<S>
impl<S: Debug> Debug for TowerHyperService<S>
Source§impl<S, R> Service<R> for TowerHyperService<S>
impl<S, R> Service<R> for TowerHyperService<S>
Source§type Future = TowerHyperFuture<S, R>
type Future = TowerHyperFuture<S, R>
The future response value.
Auto Trait Implementations§
impl<S> Freeze for TowerHyperService<S>where
S: Freeze,
impl<S> RefUnwindSafe for TowerHyperService<S>where
S: RefUnwindSafe,
impl<S> Send for TowerHyperService<S>where
S: Send,
impl<S> Sync for TowerHyperService<S>where
S: Sync,
impl<S> Unpin for TowerHyperService<S>where
S: Unpin,
impl<S> UnwindSafe for TowerHyperService<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<R> FirstAddrExt for R
impl<R> FirstAddrExt for R
Source§fn first_addr(self) -> FirstAddrResolver<Self>where
Self: Sized,
fn first_addr(self) -> FirstAddrResolver<Self>where
Self: Sized,
Available on crate feature
client only.Convert this resolver into a
FirstAddrResolver. Read more