pub trait ScreenDevice:
Debug
+ Send
+ Sync {
// Required methods
fn send_raw(
&mut self,
commands: &mut (dyn Iterator<Item = Command> + Send + Sync),
) -> Result<(), Error>;
fn flush<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn blocking_get_size(&mut self) -> Result<CoordPair, Error>;
}