pub struct HttpServerThreadPool { /* private fields */ }
Expand description
Thread pool implementation for multi-thread HTTP server process.
HttpServerThreadPool::new(4) // 4 threads for handling requests
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpServerThreadPool
impl !RefUnwindSafe for HttpServerThreadPool
impl Send for HttpServerThreadPool
impl Sync for HttpServerThreadPool
impl Unpin for HttpServerThreadPool
impl !UnwindSafe for HttpServerThreadPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more