Trait tracing_serde::AsSerde[][src]

pub trait AsSerde<'a>: Sealed {
    type Serializable: Serialize + 'a;
    fn as_serde(&'a self) -> Self::Serializable;
}

Associated Types

type Serializable: Serialize + 'a[src]

Loading content...

Required methods

fn as_serde(&'a self) -> Self::Serializable[src]

as_serde borrows a tracing value and returns the serialized value.

Loading content...

Implementations on Foreign Types

impl<'a> AsSerde<'a> for Metadata<'a>[src]

type Serializable = SerializeMetadata<'a>

impl<'a> AsSerde<'a> for Event<'a>[src]

type Serializable = SerializeEvent<'a>

impl<'a> AsSerde<'a> for Attributes<'a>[src]

type Serializable = SerializeAttributes<'a>

impl<'a> AsSerde<'a> for Id[src]

type Serializable = SerializeId<'a>

impl<'a> AsSerde<'a> for Record<'a>[src]

type Serializable = SerializeRecord<'a>

impl<'a> AsSerde<'a> for Level[src]

type Serializable = SerializeLevel<'a>

Loading content...

Implementors

Loading content...