Struct shio::Shio
[−]
[src]
pub struct Shio<H: Handler + 'static> where
<H::Result as IntoFuture>::Error: Debug + Send + Sync, { /* fields omitted */ }
Methods
impl<H: Handler> Shio<H> where
<H::Result as IntoFuture>::Error: Debug + Send + Sync,
[src]
<H::Result as IntoFuture>::Error: Debug + Send + Sync,
fn new(handler: H) -> Self
fn threads(&mut self, threads: usize)
Set the number of threads to use.