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