pub trait PlotterTransport {
// Required methods
fn write_line(&mut self, buf: &str) -> Result<()>;
fn read_line(&mut self, buf: &mut String) -> Result<usize>;
fn flush(&mut self) -> Result<()>;
}pub trait PlotterTransport {
// Required methods
fn write_line(&mut self, buf: &str) -> Result<()>;
fn read_line(&mut self, buf: &mut String) -> Result<usize>;
fn flush(&mut self) -> Result<()>;
}