A row type stored in its own telemetry artifact, as a versioned record.
| 47 | |
| 48 | /// A row type stored in its own telemetry artifact, as a versioned record. |
| 49 | pub trait TelemetryRow: Sized { |
| 50 | type Record: Serialize + DeserializeOwned + From<Self>; |
| 51 | |
| 52 | /// Upgrades a record of any version to the current row. |
| 53 | fn from_record(record: Self::Record) -> anyhow::Result<Self>; |
| 54 | } |
| 55 | |
| 56 | impl From<SpanRow> for SpanRecord { |
| 57 | fn from(row: SpanRow) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected