pub enum RootKind {
OperatorPrompt,
UserAction,
HarnessEvent,
}Expand description
The kind of thing that rooted a derivation.
Note what is absent: there is no ModelOutput constructor. A model’s
assertion is never a provenance root, and that is enforced by the type
rather than by a rule.
Variants§
OperatorPrompt
The human SAID: intent expressed in language. Needs adjudication.
UserAction
The human DID: intent expressed as control. Unambiguous by construction.
HarnessEvent
The machine decided: a budget threshold, a retry, an automatic seal.
Trait Implementations§
impl Copy for RootKind
Source§impl<'de> Deserialize<'de> for RootKind
impl<'de> Deserialize<'de> for RootKind
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 RootKind
Source§impl Ord for RootKind
impl Ord for RootKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for RootKind
impl PartialOrd for RootKind
impl StructuralPartialEq for RootKind
Auto Trait Implementations§
impl Freeze for RootKind
impl RefUnwindSafe for RootKind
impl Send for RootKind
impl Sync for RootKind
impl Unpin for RootKind
impl UnsafeUnpin for RootKind
impl UnwindSafe for RootKind
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