[−][src]Trait drone_core::fib::ThrFiberFuture
Extends ThrToken
types with add_future
method.
Provided methods
ⓘImportant traits for FiberFuture<T>fn add_future<F, Y, T>(self, fib: F) -> FiberFuture<T> where
F: Fiber<Input = (), Yield = Y, Return = T>,
Y: YieldNone,
F: Send + 'static,
T: Send + 'static,
ⓘImportant traits for FiberFuture<T>
F: Fiber<Input = (), Yield = Y, Return = T>,
Y: YieldNone,
F: Send + 'static,
T: Send + 'static,
Adds the fiber fib
to the fiber chain and returns a future, which
resolves on completion of the fiber.