Struct tmp_mio::EventLoopConfig [] [src]

pub struct EventLoopConfig { /* fields omitted */ }

Configure EventLoop runtime details

Methods

impl EventLoopConfig
[src]

Creates a new configuration for the event loop with all default options specified.

Sets the maximum number of messages that can be buffered on the event loop's notification channel before a send will fail.

The default value for this is 4096.

Sets the maximum number of messages that can be processed on any tick of the event loop.

The default value for this is 256.

Trait Implementations

impl Clone for EventLoopConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EventLoopConfig
[src]

Formats the value using the given formatter.

impl Default for EventLoopConfig
[src]

Returns the "default value" for a type. Read more