pub enum ExecutionPoll {
Ready(AnyTask),
Pending,
}Expand description
Indicates whether a task available to be executed or not.
Variants§
Ready(AnyTask)
There’s a task ready to be executed. It will cause [TasksExecutor::execute] to be called.
Pending
You’re not executing a new task. Nothing will happen.
Auto Trait Implementations§
impl Freeze for ExecutionPoll
impl !RefUnwindSafe for ExecutionPoll
impl !Send for ExecutionPoll
impl !Sync for ExecutionPoll
impl Unpin for ExecutionPoll
impl !UnwindSafe for ExecutionPoll
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