pub struct SoftwareTaskArgs {
pub core: u8,
pub capacity: u8,
pub priority: u8,
pub resources: Resources,
pub spawn: Set<Ident>,
pub schedule: Set<Ident>,
/* private fields */
}
Expand description
Software task metadata
Fields§
§core: u8
The core this task will run on
capacity: u8
The task capacity: the maximum number of pending messages that can be queued
priority: u8
The priority of this task
resources: Resources
Resources 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§
Source§impl Debug for SoftwareTaskArgs
impl Debug for SoftwareTaskArgs
Auto Trait Implementations§
impl Freeze for SoftwareTaskArgs
impl RefUnwindSafe for SoftwareTaskArgs
impl !Send for SoftwareTaskArgs
impl !Sync for SoftwareTaskArgs
impl Unpin for SoftwareTaskArgs
impl UnwindSafe for SoftwareTaskArgs
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