pub enum NextTaskResult<'a> {
Available(&'a Task),
NoPendingTasks,
BlockedByDependencies,
}Expand description
Result of finding the next task
Variants§
Available(&'a Task)
Found a task with dependencies met
NoPendingTasks
No pending tasks at all
BlockedByDependencies
Pending tasks exist but blocked by dependencies
Auto Trait Implementations§
impl<'a> Freeze for NextTaskResult<'a>
impl<'a> RefUnwindSafe for NextTaskResult<'a>
impl<'a> Send for NextTaskResult<'a>
impl<'a> Sync for NextTaskResult<'a>
impl<'a> Unpin for NextTaskResult<'a>
impl<'a> UnwindSafe for NextTaskResult<'a>
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