pub struct SchedTaskBackingShort {
pub spawned: usize,
pub slots: usize,
}Expand description
The spawned sched tasks’ executor backing. nros::main! emits one
SchedTaskExecutorBacking static per sched-task entry and hands its slots to the
board’s run_sched_tasks, which refuses a short block through
check_sched_task_executor_backing and opens each spawned sched task with
Executor::open_with_session_slot. Gated like the module it names
(has_rmw + alloc in nros-node).
The sched task backing a board was handed does not cover the sched tasks it
must spawn. Carries both counts so the refusal names them.
Fields§
§spawned: usizeSched tasks the board spawns (every sched task but the boot one).
slots: usizeSlots it was handed.
Trait Implementations§
Source§impl Clone for SchedTaskBackingShort
impl Clone for SchedTaskBackingShort
Source§fn clone(&self) -> SchedTaskBackingShort
fn clone(&self) -> SchedTaskBackingShort
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SchedTaskBackingShort
Source§impl Debug for SchedTaskBackingShort
impl Debug for SchedTaskBackingShort
Source§impl Display for SchedTaskBackingShort
impl Display for SchedTaskBackingShort
impl Eq for SchedTaskBackingShort
Source§impl PartialEq for SchedTaskBackingShort
impl PartialEq for SchedTaskBackingShort
impl StructuralPartialEq for SchedTaskBackingShort
Auto Trait Implementations§
impl Freeze for SchedTaskBackingShort
impl RefUnwindSafe for SchedTaskBackingShort
impl Send for SchedTaskBackingShort
impl Sync for SchedTaskBackingShort
impl Unpin for SchedTaskBackingShort
impl UnsafeUnpin for SchedTaskBackingShort
impl UnwindSafe for SchedTaskBackingShort
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