Skip to main content

ChildKernel

Trait ChildKernel 

Source
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§

Source

fn execute(&self, ctx: ThreadContext)

Execute the child kernel for a single thread

Source

fn name(&self) -> &str

Get kernel name

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§