vex_v5_serial/commands/
mod.rs

1use std::future::Future;
2
3use crate::Connection;
4
5pub mod file;
6#[cfg(feature = "screen-command")]
7pub mod screen;
8
9pub trait Command {
10    type Output;
11
12    fn execute<C: Connection + ?Sized>(
13        self,
14        connection: &mut C,
15    ) -> impl Future<Output = Result<Self::Output, C::Error>>;
16}