Expand description
SafLogValue trait for formatting Rust values into the SAF log DSL.
Each type maps to a DSL value type:
- IDs (
EntityIdimpls) →0x+ hex - Sets (
BTreeSet<T>) →{a,b,c} - Lists (
Vec<T>,&[T]) →[a,b,c] - Pairs (
SafPair<T>) →a->b - Ratios (
SafRatio) →n/m - Deltas (
PtsDelta<T>) →+{a,b}or-{a,b} - Primitives → bare values
Macros§
Structs§
Enums§
- PtsDelta
- A set delta rendered as
+{a,b}(added) or-{a,b}(removed).
Traits§
- SafLog
Value - Trait for formatting values into the SAF log DSL output.