Struct tracing_core::span::Record
source · pub struct Record<'a> { /* private fields */ }
Expand description
A set of fields recorded by a span.
Implementations§
source§impl<'a> Record<'a>
impl<'a> Record<'a>
sourcepub fn record(&self, visitor: &mut dyn Visit)
pub fn record(&self, visitor: &mut dyn Visit)
Records all the fields in this Record
with the provided Visitor.
sourcepub fn len(&self) -> usize
pub fn len(&self) -> usize
Returns the number of fields that would be visited from this Record
when Record::record()
is called