pub struct TaskManager {
pub tasks: Mutex<HashMap<String, TaskInfo>>,
pub notification_tx: Option<Sender<TaskNotification>>,
}Expand description
Task manager singleton
Fields§
§tasks: Mutex<HashMap<String, TaskInfo>>§notification_tx: Option<Sender<TaskNotification>>Auto Trait Implementations§
impl !Freeze for TaskManager
impl !RefUnwindSafe for TaskManager
impl Send for TaskManager
impl Sync for TaskManager
impl Unpin for TaskManager
impl UnsafeUnpin for TaskManager
impl !UnwindSafe for TaskManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more