pub struct HardwareTaskArgs {
pub core: u8,
pub binds: Ident,
pub priority: u8,
pub resources: Resources,
pub spawn: Set<Ident>,
pub schedule: Set<Ident>,
/* private fields */
}Expand description
Hardware task metadata
Fields§
§core: u8The core on which this task will be executed
binds: IdentThe interrupt or exception that this task is bound to
priority: u8The priority of this task
resources: ResourcesResources that can be accessed from this context
spawn: Set<Ident>Software tasks that can be spawned from this context
schedule: Set<Ident>Software tasks that can be scheduled from this context
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HardwareTaskArgs
impl RefUnwindSafe for HardwareTaskArgs
impl !Send for HardwareTaskArgs
impl !Sync for HardwareTaskArgs
impl Unpin for HardwareTaskArgs
impl UnwindSafe for HardwareTaskArgs
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