pub enum TaskType {
Local,
Async,
None,
}
Expand description
The type of a running task.
Variants§
Local
This task is running in the local thread.
Async
This task is running async in another thread.
None
This task is running in a different manner.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskType
impl RefUnwindSafe for TaskType
impl Send for TaskType
impl Sync for TaskType
impl Unpin for TaskType
impl UnwindSafe for TaskType
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