Struct mioco::JoinHandle [] [src]

pub struct JoinHandle<T> { /* fields omitted */ }

Allows to join on mioco Coroutine

Can be used both inside and outside of mioco instance.

Methods

impl<T> JoinHandle<T> where
    T: Send + 'static, 
[src]

Block waiting for coroutine completion

Return value returned by coroutine or Err if coroutine panicked or was killed.