Struct mio::Poll
[−]
[src]
pub struct Poll { // some fields omitted }
pub struct Poll { // some fields omitted }
impl Poll
fn new() -> Result<Poll>
fn register<E: ?Sized>(&mut self, io: &E, token: Token, interest: EventSet, opts: PollOpt) -> Result<()> where E: Evented
fn reregister<E: ?Sized>(&mut self, io: &E, token: Token, interest: EventSet, opts: PollOpt) -> Result<()> where E: Evented
fn deregister<E: ?Sized>(&mut self, io: &E) -> Result<()> where E: Evented
fn poll(&mut self, timeout_ms: Option<usize>) -> Result<usize>
fn event(&self, idx: usize) -> IoEvent
fn events(&self) -> Events
impl Debug for Poll