Struct rotor::Config
[−]
[src]
pub struct Config { // some fields omitted }
Event loop configuration
The structure currently embeds mio configuration too
Methods
impl Config
[src]
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.
Trait Implementations
impl Clone for Config
[src]
fn clone(&self) -> Config
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more