pub trait ExecutionBase: Send + Sync {
// Required method
fn context_type(&self) -> &'static str;
// Provided method
fn is_ready(&self) -> bool { ... }
}Expand description
Base trait for all execution contexts
Required Methods§
Sourcefn context_type(&self) -> &'static str
fn context_type(&self) -> &'static str
Get context type name for debugging
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".