Struct tarpc::rpc::server::Running[][src]

pub struct Running<St, Se> { /* fields omitted */ }

A future that drives the server by spawning channels and request handlers on the default executor.

Trait Implementations

impl<St: Debug, Se: Debug> Debug for Running<St, Se>[src]

impl<St, C, Se> Future for Running<St, Se> where
    St: Sized + Stream<Item = C>,
    C: Channel + Send + 'static,
    C::Req: Send + 'static,
    C::Resp: Send + 'static,
    Se: Serve<C::Req, Resp = C::Resp> + Send + 'static + Clone,
    Se::Fut: Send + 'static, 
[src]

type Output = ()

The type of value produced on completion.

impl<'pin, St, Se> Unpin for Running<St, Se> where
    __Running<'pin, St, Se>: Unpin
[src]

Auto Trait Implementations

impl<St, Se> RefUnwindSafe for Running<St, Se> where
    Se: RefUnwindSafe,
    St: RefUnwindSafe

impl<St, Se> Send for Running<St, Se> where
    Se: Send,
    St: Send

impl<St, Se> Sync for Running<St, Se> where
    Se: Sync,
    St: Sync

impl<St, Se> UnwindSafe for Running<St, Se> where
    Se: UnwindSafe,
    St: UnwindSafe

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> FutureExt for T where
    T: Future + ?Sized
[src]

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

impl<F> IntoFuture for F where
    F: Future
[src]

type Output = <F as Future>::Output

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

type Future = F

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

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>, 
[src]