Trait tracing_serde::AsSerde
source · [−]pub trait AsSerde<'a>: Sealed {
type Serializable: Serialize + 'a;
fn as_serde(&'a self) -> Self::Serializable;
}
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.