Trait zircon_object::task::Task
source · [−]pub trait Task: Sync + Send {
fn kill(&self);
fn suspend(&self);
fn resume(&self);
fn exceptionate(&self) -> Arc<Exceptionate>;
fn debug_exceptionate(&self) -> Arc<Exceptionate>;
}
Expand description
Task (Thread, Process, or Job)
Required Methods
Kill the task. The task do not terminate immediately when killed. It will terminate after all its children are terminated or some cleanups are finished.
fn exceptionate(&self) -> Arc<Exceptionate>
fn exceptionate(&self) -> Arc<Exceptionate>
Get the exceptionate.
fn debug_exceptionate(&self) -> Arc<Exceptionate>
fn debug_exceptionate(&self) -> Arc<Exceptionate>
Get the debug exceptionate.