Struct nexus::ReactorConfig
[−]
[src]
pub struct ReactorConfig { /* fields omitted */ }
Configuration for the Reactor
Methods
impl ReactorConfig
[src]
fn new() -> ReactorConfig
Create a new default ReactorConfig.
fn timer_capacity(self, cap: usize) -> ReactorConfig
Set the timer capacity.
This is used by the event loop to specify the number of timers allowed. An indication that
this should be increased if if a ReactorError::TimerError
is returned.
fn timer_tick_interval_ms(self, ms: u64) -> ReactorConfig
Set the tick interval for the timer.