Trait tracing_serde::AsSerde
source · [−]pub trait AsSerde<'a>: Sealed {
type Serializable: Serialize + 'a;
fn as_serde(&'a self) -> Self::Serializable;
}
Required Associated Types
type Serializable: Serialize + 'a
Required Methods
fn as_serde(&'a self) -> Self::Serializable
fn as_serde(&'a self) -> Self::Serializable
as_serde
borrows a tracing
value and returns the serialized value.