//! Record the OTLP status of a span.
use Status;
use Debug;
use Span;
use OpenTelemetrySpanExt;
/// Set the status of a span to `Ok`.
/// Set the status of a span to `Error`.
///
/// If `error` is provided, it will be recorded as an attribute on the span.