Struct mio_poll_wrapper::Handle [−][src]
pub struct Handle<'a> { /* fields omitted */ }
A handle that gets passed to the callback method of PollWrapper.
This handle allows you to register evented methods to the poll while the wrapper is running.
Methods
impl<'a> Handle<'a>
[src]
impl<'a> Handle<'a>
pub fn register(
&mut self,
evented: &impl Evented
) -> Result<Token>
[src]
pub fn register(
&mut self,
evented: &impl Evented
) -> Result<Token>
Register an evented with the poll. This returns the token that was registered.