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