pub enum TaskShape {
Read,
Edit,
Diagnose,
Unclassified,
}Expand description
A coarse, host-derived shape label for a task.
This is the “minimal task classification” a routing payload may carry. It is computed from the already-redacted summary and is deliberately crude: the Router needs to know roughly what kind of work this is, not what the work says.
Variants§
Read
Reading, inspecting, summarizing.
Edit
Editing, implementing, fixing.
Diagnose
Debugging, diagnosing, root-causing.
Unclassified
Nothing distinctive.
Implementations§
Trait Implementations§
impl Copy for TaskShape
Source§impl<'de> Deserialize<'de> for TaskShape
impl<'de> Deserialize<'de> for TaskShape
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
impl Eq for TaskShape
impl StructuralPartialEq for TaskShape
Auto Trait Implementations§
impl Freeze for TaskShape
impl RefUnwindSafe for TaskShape
impl Send for TaskShape
impl Sync for TaskShape
impl Unpin for TaskShape
impl UnsafeUnpin for TaskShape
impl UnwindSafe for TaskShape
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