> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Span Status • Rust AI Agent SDK

> SpanStatus: Status of a span.

# SpanStatus

> Defined in the [**trace**](../modules/trace) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Status of a span.

## Fields

| Name      | Type      | Description     |
| --------- | --------- | --------------- |
| `Unset`   | `variant` | -               |
| `Unset`   | `variant` | Unset (default) |
| `Success` | `variant` | -               |
| `Ok`      | `variant` | Success         |
| `Error`   | `variant` | -               |
| `Error`   | `variant` | Error           |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/trace/mod.rs">
  `praisonai/src/trace/mod.rs` at line 0
</Card>
