Trait zircon::ZirconApp
[−]
[src]
pub trait ZirconApp: Send + Sync + 'static { fn num_accept_threads(&self) -> usize; fn num_cpu_threads(&self) -> usize; fn cpu_pool(&self) -> &CpuPool; }
Required Methods
fn num_accept_threads(&self) -> usize
Returns the number of accept threads.
fn num_cpu_threads(&self) -> usize
Returns the number of cpu threads.
fn cpu_pool(&self) -> &CpuPool
Returns the internal cpu pool (not for accept threads).
Implementors
impl<D: Send + Sync + 'static> ZirconApp for ZirconDefaultApp<D>