#[non_exhaustive]pub enum Trace {
Agents,
Models,
Tools,
Memory,
Knowledge,
Graphs,
Laws,
Evals,
Budget,
Store,
Routing,
}Expand description
One trace category; every trace point belongs to exactly one.
as_str gives the snake-case name used in JSON lines and TOML, and
FromStr parses it back. Later releases may add categories.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Copy for Trace
impl Eq for Trace
Source§impl FromIterator<Trace> for TraceSet
impl FromIterator<Trace> for TraceSet
Source§impl Ord for Trace
impl Ord for Trace
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 Trace
impl PartialOrd for Trace
impl StructuralPartialEq for Trace
Auto Trait Implementations§
impl Forget for Trace
impl Freeze for Trace
impl Move for Trace
impl RefUnwindSafe for Trace
impl Send for Trace
impl Sync for Trace
impl Unpin for Trace
impl UnsafeUnpin for Trace
impl UnwindSafe for Trace
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