Struct rotor::mio::Poll [] [src]

pub struct Poll {
    // some fields omitted
}

Methods

impl Poll

fn new() -> Result<Poll, Error>

fn register<E>(&mut self, io: &E, token: Token, interest: EventSet, opts: PollOpt) -> Result<(), Error> where E: Evented + ?Sized

fn reregister<E>(&mut self, io: &E, token: Token, interest: EventSet, opts: PollOpt) -> Result<(), Error> where E: Evented + ?Sized

fn deregister<E>(&mut self, io: &E) -> Result<(), Error> where E: Evented + ?Sized

fn poll(&mut self, timeout_ms: Option<usize>) -> Result<usize, Error>

fn event(&self, idx: usize) -> IoEvent

fn events(&self) -> Events

Trait Implementations

impl Debug for Poll

fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>