[][src]Trait drone_core::fib::ThrFiberGen

pub trait ThrFiberGen: ThrToken {
    fn add<G>(self, gen: G)
    where
        G: Generator<Yield = (), Return = ()>,
        G: Send + 'static
, { ... } }

Extends ThrToken types with add method.

Provided methods

fn add<G>(self, gen: G) where
    G: Generator<Yield = (), Return = ()>,
    G: Send + 'static, 

Adds a fiber for the generator gen to the fiber chain.

Loading content...

Implementors

impl<T: ThrToken> ThrFiberGen for T[src]

Loading content...