1 2 3 4 5 6 7 8 9 10
use async_trait::async_trait; use super::motion::MotionResult; #[async_trait] pub trait StartableControl { async fn start(&mut self) -> MotionResult<usize>; }