Struct mio_poll_wrapper::PollWrapper[][src]

pub struct PollWrapper { /* fields omitted */ }

A wrapper around mio's Poll method

You can create this

Methods

impl PollWrapper
[src]

Create a new poll wrapper

Start the poll routine. Every time an event gets received, the callback handler gets called.

The first argument of the handler is the event that is received.

The second argument is a handle. See Handle for more information.

Register an evented with the poll. This returns the token that was registered.

Auto Trait Implementations

impl Send for PollWrapper

impl Sync for PollWrapper