pub enum TaskKind {
BreakCycle {
cycle: Vec<String>,
},
ImplementSpec {
spec_id: String,
},
Custom {
description: String,
},
}Expand description
Kind of task that can be planned.
Variants are deliberately domain-neutral. Specialised variants for any given problem domain belong outside this crate.
Variants§
BreakCycle
Break a circular dependency cycle in the task graph.
This is a generic graph operation, not coupled to any particular problem domain.
ImplementSpec
Implement a spec requirement.
Custom
Custom user-defined task.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskKind
impl<'de> Deserialize<'de> for TaskKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TaskKind
impl RefUnwindSafe for TaskKind
impl Send for TaskKind
impl Sync for TaskKind
impl Unpin for TaskKind
impl UnsafeUnpin for TaskKind
impl UnwindSafe for TaskKind
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