pub trait Termination {
type Error: Debug;
// Required method
fn report(self) -> Self::Error;
}Expand description
Trait for the return type of #[root_task] main functions.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".