Trait openrr_teleop::ControlMode
source · pub trait ControlMode: Send + Sync {
// Required methods
fn handle_event(&self, event: GamepadEvent);
fn proc<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn mode(&self) -> &str;
fn submode(&self) -> String;
}