pub trait Task<I, O> { // Required methods fn push(&self, input: I); fn stop(&mut self); fn get_inner(&self) -> Option<Sender<I>>; }