Struct ValueSet
pub struct ValueSet<'a> { /* private fields */ }
Expand description
A set of fields and values for a span.
Implementations§
§impl<'a> ValueSet<'a>
impl<'a> ValueSet<'a>
pub fn callsite(&self) -> Identifier
pub fn callsite(&self) -> Identifier
Returns an Identifier
that uniquely identifies the Callsite
defining the fields this ValueSet
refers to.
pub fn record(&self, visitor: &mut dyn Visit)
pub fn record(&self, visitor: &mut dyn Visit)
Visits all the fields in this ValueSet
with the provided visitor.
pub fn len(&self) -> usize
pub fn len(&self) -> usize
Returns the number of fields in this ValueSet
that would be visited
by a given visitor to the ValueSet::record()
method.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ValueSet<'a>
impl<'a> !RefUnwindSafe for ValueSet<'a>
impl<'a> !Send for ValueSet<'a>
impl<'a> !Sync for ValueSet<'a>
impl<'a> Unpin for ValueSet<'a>
impl<'a> !UnwindSafe for ValueSet<'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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
Available on crate feature
std
only.Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Available on crate feature
std
only.