pub struct ThreadPoolLite {
pub thread: TaskExecutor,
}Expand description
Simple thread pool Used for quickly submitting tasks Only one thread, bound to only one core 简易线程池 用于快速提交任务 只有一个线程, 只绑定一个核心
Fields§
§thread: TaskExecutorImplementations§
Auto Trait Implementations§
impl Freeze for ThreadPoolLite
impl !RefUnwindSafe for ThreadPoolLite
impl Send for ThreadPoolLite
impl Sync for ThreadPoolLite
impl Unpin for ThreadPoolLite
impl !UnwindSafe for ThreadPoolLite
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more