[−][src]Trait thin_main_loop::IOAble
Represents an object that can be read from and/or written to.
Required methods
fn fd(&self) -> RawFd
fn direction(&self) -> IODirection
Provided methods
fn on_rw(&mut self, _: Result<IODirection, Error>)
Implementors
impl<IO, F> IOAble for IOReader<IO, F> where
IO: AsRawFd,
F: FnMut(&mut IO, Result<IODirection, Error>),
[src]
impl<IO, F> IOAble for IOReader<IO, F> where
IO: AsRawFd,
F: FnMut(&mut IO, Result<IODirection, Error>),