pub trait IO {
// Required methods
fn path(&self) -> &str;
fn read(&self) -> Result<String, Error>;
fn write(&self, content: String) -> Result<(), Error>;
}pub trait IO {
// Required methods
fn path(&self) -> &str;
fn read(&self) -> Result<String, Error>;
fn write(&self, content: String) -> Result<(), Error>;
}