Struct tower_spawn_ready::SpawnReady
source · pub struct SpawnReady<T> { /* private fields */ }Expand description
Spawns tasks to drive an inner service to readiness.
See crate level documentation for more details.
Implementations§
source§impl<T> SpawnReady<T>
impl<T> SpawnReady<T>
Trait Implementations§
source§impl<T: Debug> Debug for SpawnReady<T>
impl<T: Debug> Debug for SpawnReady<T>
source§impl<T, Request> Service<Request> for SpawnReady<T>where
T: Service<Request> + Send,
T::Error: Into<Box<dyn Error + Send + Sync>>,
DefaultExecutor: BackgroundReadyExecutor<T, Request>,
impl<T, Request> Service<Request> for SpawnReady<T>where
T: Service<Request> + Send,
T::Error: Into<Box<dyn Error + Send + Sync>>,
DefaultExecutor: BackgroundReadyExecutor<T, Request>,
§type Future = MapErr<<T as Service<Request>>::Future, fn(_: <T as Service<Request>>::Error) -> Box<dyn Error + Sync + Send>>
type Future = MapErr<<T as Service<Request>>::Future, fn(_: <T as Service<Request>>::Error) -> Box<dyn Error + Sync + Send>>
The future response value.
Auto Trait Implementations§
impl<T> Freeze for SpawnReady<T>where
T: Freeze,
impl<T> !RefUnwindSafe for SpawnReady<T>
impl<T> Send for SpawnReady<T>where
T: Send,
impl<T> Sync for SpawnReady<T>
impl<T> Unpin for SpawnReady<T>where
T: Unpin,
impl<T> !UnwindSafe for SpawnReady<T>
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