pub enum TaskKind {
Software,
Hardware,
}Expand description
Which RTIC task shape a definition was authored as. RTIC itself makes the
same distinction by signature, so the authored fn versus async fn is
what decides it here.
Variants§
Software
async fn - dispatched in software, may take inputs and diverge.
Hardware
fn - bound to an interrupt by composition, takes only its context.
Trait Implementations§
impl Copy for TaskKind
impl Eq for TaskKind
impl StructuralPartialEq for TaskKind
Auto Trait Implementations§
impl Freeze for TaskKind
impl RefUnwindSafe for TaskKind
impl Send for TaskKind
impl Sync for TaskKind
impl Unpin for TaskKind
impl UnsafeUnpin for TaskKind
impl UnwindSafe for TaskKind
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