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

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

Extends ThrToken types with add method.

Provided methods

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

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

Loading content...

Implementors

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

Loading content...