task-motel 0.1.0

Opinionated (Tokio) task manager with nested task groups and stoppable tasks
Documentation
1
2
3
4
5
6
7
8
#![allow(missing_docs)]

pub type TmResult<T = ()> = Result<T, String>;

/// An error that is thrown from within a managed task
pub trait TaskError {
    fn is_recoverable(&self) -> bool;
}