pub trait IOAble {
// Required methods
fn handle(&self) -> CbHandle;
fn direction(&self) -> IODirection;
fn on_rw(&mut self, _: Result<IODirection, Error>) -> bool;
}
Expand description
Represents an object that can be read from and/or written to.