Struct tracing_core::span::Record
source · pub struct Record<'a> {
values: &'a ValueSet<'a>,
}
Expand description
A set of fields recorded by a span.
Fields§
§values: &'a ValueSet<'a>
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
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Record<'a>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more