[−][src]Struct tower_spawn_ready::SpawnReady
Spawns tasks to drive an inner service to readiness.
See crate level documentation for more details.
Methods
impl<T> SpawnReady<T>
[src]
Trait Implementations
impl<T: Debug> Debug for SpawnReady<T>
[src]
impl<T, Request> Service<Request> for SpawnReady<T> where
T: Service<Request> + Send + 'static,
T::Error: Into<Box<dyn Error + Send + Sync>>,
Request: Send + 'static,
[src]
T: Service<Request> + Send + 'static,
T::Error: Into<Box<dyn Error + Send + Sync>>,
Request: Send + 'static,
type Response = T::Response
Responses given by the service.
type Error = Box<dyn Error + Send + Sync>
Errors produced by the service.
type Future = MapErr<T::Future, fn(_: T::Error) -> Box<dyn Error + Send + Sync>>
The future response value.
fn poll_ready(&mut self, cx: &mut Context) -> Poll<Result<(), Self::Error>>
[src]
fn call(&mut self, request: Request) -> Self::Future
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for SpawnReady<T>
impl<T> Send for SpawnReady<T> where
T: Send,
T: Send,
impl<T> Sync for SpawnReady<T> where
T: Send + Sync,
T: Send + Sync,
impl<T> Unpin for SpawnReady<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for SpawnReady<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,