pub trait Plugin: Send + Sync {
// Required methods
fn receive(
&self,
tx: Sender<Box<[u8]>>,
command: u8,
) -> Pin<Box<dyn Future<Output = ()> + Send>>;
fn info(&self, message: &str);
}pub trait Plugin: Send + Sync {
// Required methods
fn receive(
&self,
tx: Sender<Box<[u8]>>,
command: u8,
) -> Pin<Box<dyn Future<Output = ()> + Send>>;
fn info(&self, message: &str);
}