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]
Required methods
fn as_serde(&'a self) -> Self::Serializable
[src]
as_serde
borrows a tracing
value and returns the serialized value.
Implementations on Foreign Types
impl<'a> AsSerde<'a> for Metadata<'a>
[src]
impl<'a> AsSerde<'a> for Metadata<'a>
[src]type Serializable = SerializeMetadata<'a>
fn as_serde(&'a self) -> Self::Serializable
[src]
impl<'a> AsSerde<'a> for Event<'a>
[src]
impl<'a> AsSerde<'a> for Event<'a>
[src]type Serializable = SerializeEvent<'a>
fn as_serde(&'a self) -> Self::Serializable
[src]
impl<'a> AsSerde<'a> for Attributes<'a>
[src]
impl<'a> AsSerde<'a> for Attributes<'a>
[src]type Serializable = SerializeAttributes<'a>
fn as_serde(&'a self) -> Self::Serializable
[src]
impl<'a> AsSerde<'a> for Id
[src]
impl<'a> AsSerde<'a> for Id
[src]type Serializable = SerializeId<'a>
fn as_serde(&'a self) -> Self::Serializable
[src]
impl<'a> AsSerde<'a> for Record<'a>
[src]
impl<'a> AsSerde<'a> for Record<'a>
[src]type Serializable = SerializeRecord<'a>
fn as_serde(&'a self) -> Self::Serializable
[src]
impl<'a> AsSerde<'a> for Level
[src]
impl<'a> AsSerde<'a> for Level
[src]