Struct sp_tracing::span::Record
source · [−]pub struct Record<'a> { /* private fields */ }
Expand description
A set of fields recorded by a span.
Implementations
sourceimpl<'a> Record<'a>
impl<'a> Record<'a>
Trait Implementations
sourceimpl<'a> AsSerde<'a> for Record<'a>
impl<'a> AsSerde<'a> for Record<'a>
type Serializable = SerializeRecord<'a>
sourcepub fn as_serde(&'a self) -> <Record<'a> as AsSerde<'a>>::Serializable
pub fn as_serde(&'a self) -> <Record<'a> as AsSerde<'a>>::Serializable
as_serde
borrows a tracing
value and returns the serialized value.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Record<'a>
impl<'a> !Send for Record<'a>
impl<'a> !Sync for Record<'a>
impl<'a> Unpin for Record<'a>
impl<'a> !UnwindSafe for Record<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more