Enum opentelemetry::trace::StatusCode [−][src]
pub enum StatusCode { Unset, Ok, Error, }
This is supported on crate feature
trace
only.Expand description
The StatusCode
interface represents the status of a finished Span
.
It’s composed of a canonical code in conjunction with an optional
descriptive message.
Variants
The default status.
OK is returned on success.
The operation contains an error.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for StatusCode
impl Send for StatusCode
impl Sync for StatusCode
impl Unpin for StatusCode
impl UnwindSafe for StatusCode
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V