pub struct SchedTaskSetupGuard<'a> { /* private fields */ }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).
Proof of holding a SchedTaskSetupGate; dropping it opens the
gate.
Trait Implementations§
Source§impl<'a> Debug for SchedTaskSetupGuard<'a>
impl<'a> Debug for SchedTaskSetupGuard<'a>
Source§impl Drop for SchedTaskSetupGuard<'_>
impl Drop for SchedTaskSetupGuard<'_>
Auto Trait Implementations§
impl<'a> Freeze for SchedTaskSetupGuard<'a>
impl<'a> RefUnwindSafe for SchedTaskSetupGuard<'a>
impl<'a> Send for SchedTaskSetupGuard<'a>
impl<'a> Sync for SchedTaskSetupGuard<'a>
impl<'a> Unpin for SchedTaskSetupGuard<'a>
impl<'a> UnsafeUnpin for SchedTaskSetupGuard<'a>
impl<'a> UnwindSafe for SchedTaskSetupGuard<'a>
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