Struct tower_spawn_ready::MakeSpawnReady
source · pub struct MakeSpawnReady<S> { /* private fields */ }Expand description
Builds SpawnReady instances with the result of an inner Service.
Implementations§
source§impl<S> MakeSpawnReady<S>
impl<S> MakeSpawnReady<S>
Trait Implementations§
source§impl<S: Clone> Clone for MakeSpawnReady<S>
impl<S: Clone> Clone for MakeSpawnReady<S>
source§fn clone(&self) -> MakeSpawnReady<S>
fn clone(&self) -> MakeSpawnReady<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 MakeSpawnReady<S>
impl<S: Debug> Debug for MakeSpawnReady<S>
source§impl<S, Target> Service<Target> for MakeSpawnReady<S>where
S: Service<Target>,
impl<S, Target> Service<Target> for MakeSpawnReady<S>where
S: Service<Target>,
§type Response = SpawnReady<<S as Service<Target>>::Response>
type Response = SpawnReady<<S as Service<Target>>::Response>
Responses given by the service.
§type Future = MakeFuture<<S as Service<Target>>::Future>
type Future = MakeFuture<<S as Service<Target>>::Future>
The future response value.
Auto Trait Implementations§
impl<S> Freeze for MakeSpawnReady<S>where
S: Freeze,
impl<S> RefUnwindSafe for MakeSpawnReady<S>where
S: RefUnwindSafe,
impl<S> Send for MakeSpawnReady<S>where
S: Send,
impl<S> Sync for MakeSpawnReady<S>where
S: Sync,
impl<S> Unpin for MakeSpawnReady<S>where
S: Unpin,
impl<S> UnwindSafe for MakeSpawnReady<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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)