pub struct TaskSystem<T> { /* private fields */ }
Expand description
A task system that can be used to send tasks to a thread pool.
Implementations§
Source§impl<T> TaskSystem<T>
impl<T> TaskSystem<T>
Trait Implementations§
Source§impl<T: Debug> Debug for TaskSystem<T>
impl<T: Debug> Debug for TaskSystem<T>
Source§impl<T> Default for TaskSystem<T>
impl<T> Default for TaskSystem<T>
Source§impl<T: Debug> Display for TaskSystem<T>
impl<T: Debug> Display for TaskSystem<T>
Source§impl<T> From<TaskSystem<T>> for TaskSender<T>
impl<T> From<TaskSystem<T>> for TaskSender<T>
Source§fn from(refer: TaskSystem<T>) -> Self
fn from(refer: TaskSystem<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for TaskSystem<T>
impl<T> RefUnwindSafe for TaskSystem<T>
impl<T> Send for TaskSystem<T>where
T: Send,
impl<T> Sync for TaskSystem<T>where
T: Send,
impl<T> Unpin for TaskSystem<T>
impl<T> UnwindSafe for TaskSystem<T>
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