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
Trait Implementations§
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§
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