pub unsafe trait MainLoopCapability { }Expand description
The MainLoopCapability capability allows the holder to start executing as
well as manage the main scheduler loop in Tock.
This is needed in a board’s main.rs file to start the kernel. It
also allows an external implementation of Process to update
state in the kernel struct used by the main loop.
§Safety
Capabilities can only be created in trusted crates that can use unsafe.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".