Struct umio::Provider [] [src]

pub struct Provider<'a, D: Dispatcher + 'a> { /* fields omitted */ }

Provides services to dispatcher clients.

Methods

impl<'a, D: Dispatcher> Provider<'a, D>
[src]

Grab a channel to send messages to the event loop.

Execute a closure with a buffer and send the buffer contents to the destination address or reclaim the buffer and do not send anything.

Set a timeout with the given delay and token.

Clear a timeout using the provided timeout identifier.

Shutdown the event loop.