Type Definition r3_core::kernel::task::StaticTask

source ·
pub type StaticTask<System> = TaskRef<'static, System>;
Expand description

A static handle type: TaskRef<'static, System>

This type is ABI-compatible with System::RawTaskId. It’s logically equivalent to &'static Task but instead stores RawTaskId directly.

See Task for the owned counterpart and the description of this kernel object. See TaskMethods for the operations provided by this handle type.

Implementations§

source§

impl<System: KernelBase> StaticTask<System>

source

pub const fn define() -> TaskDefiner<System>

Construct a TaskDefiner to define a task in a configuration function.