pub struct TaskExecutor {
pub count: Arc<AtomicCell<i64>>,
/* private fields */
}
Expand description
统一的线程池执行器,支持通过 features 切换 channel 实现
Fields§
§count: Arc<AtomicCell<i64>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskExecutor
impl !RefUnwindSafe for TaskExecutor
impl Send for TaskExecutor
impl Sync for TaskExecutor
impl Unpin for TaskExecutor
impl !UnwindSafe for TaskExecutor
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