Structured result emitted by the diagnostic execution lane.
Summary
Types
@type attestation() :: :weak_local
@type status() :: :ok | :error | :timeout
@type t() :: %ExecutionPlane.DiagnosticResult{ attestation: attestation(), execution_time_ms: non_neg_integer(), operation: String.t(), payload: map(), status: status(), target_class: String.t() }
Functions
@spec new(map() | keyword() | t()) :: {:ok, t()} | {:error, Exception.t()}
@spec with_elapsed(t(), non_neg_integer()) :: t()