Struct easyfibers::Poller [] [src]

pub struct Poller;

Used to poll on sockets and timers. There can only be 1 poller per thread.

Methods

impl Poller
[src]

Start poller. This function does not block. stack_size will be rounded up to next power of two. If not set default value of context-rs will be used.

Execute socket poll, timers and check dns lookups. Will block for a maximum of dur or not at all if a socket is signalled. Returns true if something changed and runners should be executed.

Trait Implementations

impl Drop for Poller
[src]

A method called when the value goes out of scope. Read more