Trait HasTaskId

Source
pub trait HasTaskId {
    // Required method
    fn task_id(&self) -> TaskId;
}
Expand description

Represents an object that has a task id

Required Methods§

Source

fn task_id(&self) -> TaskId

Gets the task id

Implementations on Foreign Types§

Source§

impl HasTaskId for Box<dyn FullTask>

Source§

fn task_id(&self) -> TaskId

Source§

impl<E: ExecutableTask> HasTaskId for Arc<RwLock<E>>

Source§

fn task_id(&self) -> TaskId

Implementors§

Source§

impl HasTaskId for AnyTaskHandle

Source§

impl<T: 'static + Task + Send + Debug> HasTaskId for Executable<T>

Source§

impl<T: Task + Send + Sync + Debug + 'static> HasTaskId for TaskHandle<T>