pub struct Supervisor<T: SupervisedTask> { /* private fields */ }
Implementations§
Source§impl<T> Supervisor<T>
impl<T> Supervisor<T>
pub async fn run_and_supervise(&mut self)
pub fn task_statuses(&self) -> HashMap<String, TaskStatus>
Auto Trait Implementations§
impl<T> Freeze for Supervisor<T>
impl<T> RefUnwindSafe for Supervisor<T>where
T: RefUnwindSafe,
impl<T> Send for Supervisor<T>where
T: Send,
impl<T> Sync for Supervisor<T>where
T: Sync,
impl<T> Unpin for Supervisor<T>where
T: Unpin,
impl<T> UnwindSafe for Supervisor<T>where
T: UnwindSafe,
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