Function gotham::plain::start_with_num_threads
source · [−]pub fn start_with_num_threads<NH, A>(
addr: A,
new_handler: NH,
threads: usize
) -> Result<(), StartError> where
NH: NewHandler + 'static,
A: ToSocketAddrs + 'static + Send,
Expand description
Starts a Gotham application with a designated number of threads.