Struct rotor::Config
[−]
[src]
pub struct Config { // some fields omitted }
Event loop configuration
The structure currently embeds mio configuration too
Methods
impl Config
fn new() -> Config
Create new configuration with default options
fn mio(&mut self) -> &mut EventLoopConfig
A mutable reference for mio::EventLoopConfig
fn slab_capacity(&mut self, capacity: usize)
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.