Trait split_channel::OsPoll
source · pub trait OsPoll: Send + Sync {
// Required methods
fn new_thread(&self) -> ThreadState;
fn insert(&self, fd: RawFd) -> Result<(), Error>;
fn poll(
&self,
ts: &mut ThreadState,
timeout_ms: i32
) -> Result<Option<(RawFd, u32)>, Error>;
}