poolite
pub trait IntoTask { fn into_task(self) -> Task; }
To avoid call Box::new() manually by user
Box::new()
fn into_task(self) -> Task
impl IntoTask for Task
impl<F: FnBox() + Send + 'static> IntoTask for F