pub trait Controller: Send + Sync {
// Required method
fn execute(&self, action: ControlAction) -> ControlResult;
}Expand description
Executes control actions. Blocking — call from spawn_blocking.
Required Methods§
fn execute(&self, action: ControlAction) -> ControlResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".