[][src]Trait lifeline::CarryInto

pub trait CarryInto<IntoBus: Bus>: Bus + Task + Sized {
    type Lifeline;
    pub fn carry_into(&self, into: &IntoBus) -> Self::Lifeline;
}

The receprocial of the CarryFrom trait. Implemented for all types on which CarryFrom is implemented.

Associated Types

type Lifeline[src]

The carrier lifeline. When dropped, all spawned tasks are immediately cancelled.

Loading content...

Required methods

pub fn carry_into(&self, into: &IntoBus) -> Self::Lifeline[src]

Spawns the carrier service, returning the lifeline value.

Loading content...

Implementors

impl<F, I> CarryInto<I> for F where
    I: CarryFrom<F>,
    F: Bus,
    I: Bus
[src]

type Lifeline = <I as CarryFrom<F>>::Lifeline

Loading content...