Enum observer::span::SpanItem[][src]

pub enum SpanItem {
    Log {
        message: &'static str,
    },
    Field {
        name: &'static str,
        value: Value,
    },
    TransientField {
        name: &'static str,
        value: Value,
    },
    Query {
        query: String,
        bind: Option<String>,
        result: Result<usize, String>,
    },
    Frame(Span),
}

Variants

Log
Show fields

Fields of Log

message: &'static str
Field
Show fields

Fields of Field

name: &'static strvalue: Value
TransientField
Show fields

Fields of TransientField

name: &'static strvalue: Value
Query
Show fields

Fields of Query

query: Stringbind: Option<String>result: Result<usize, String>
Frame(Span)

Trait Implementations

impl Debug for SpanItem[src]

impl Serialize for SpanItem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DebugAny for T where
    T: Any + Debug

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any