Trait IOAble

Source
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.

Required Methods§

Implementors§

Source§

impl IOAble for Io

Source§

impl<IO, F> IOAble for IOReader<IO, F>