pub trait ChildKernel: Send + Sync {
// Required methods
fn execute(&self, ctx: ThreadContext);
fn name(&self) -> &str;
}Expand description
A child kernel that can be launched from within a parent kernel
Required Methods§
Sourcefn execute(&self, ctx: ThreadContext)
fn execute(&self, ctx: ThreadContext)
Execute the child kernel for a single thread
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".