Struct rotor::Config [] [src]

pub struct Config { /* fields omitted */ }

Event loop configuration

The structure currently embeds mio configuration too

Methods

impl Config
[src]

Create new configuration with default options

A mutable reference for mio::EventLoopBuilder

A capacity of state machine slab

This limits the number of state machines that application is able to create. Consequently this limits the number of connections that server is able to establish.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter.

impl Clone for Config
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Config
[src]

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