[][src]Struct tower::spawn_ready::MakeSpawnReady

pub struct MakeSpawnReady<S> { /* fields omitted */ }
This is supported on crate feature spawn-ready only.

Builds SpawnReady instances with the result of an inner Service.

Implementations

impl<S> MakeSpawnReady<S>[src]

pub fn new(service: S) -> Self[src]

Creates a new MakeSpawnReady wrapping service.

Trait Implementations

impl<S: Clone> Clone for MakeSpawnReady<S>[src]

impl<S: Debug> Debug for MakeSpawnReady<S>[src]

impl<S, Target> Service<Target> for MakeSpawnReady<S> where
    S: Service<Target>, 
[src]

type Response = SpawnReady<S::Response>

Responses given by the service.

type Error = S::Error

Errors produced by the service.

type Future = MakeFuture<S::Future>

The future response value.

Auto Trait Implementations

impl<S> RefUnwindSafe for MakeSpawnReady<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for MakeSpawnReady<S> where
    S: Send
[src]

impl<S> Sync for MakeSpawnReady<S> where
    S: Sync
[src]

impl<S> Unpin for MakeSpawnReady<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for MakeSpawnReady<S> where
    S: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Request> ServiceExt<Request> for T where
    T: Service<Request> + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,