pub enum SpanFormat {
None,
Join(&'static str),
Overwrite,
}Expand description
Format the span field
Variants§
None
Turn of span field
Join(&'static str)
Nested children spans join parent spans e.g. parent_span::child_span
Overwrite
Nested children spans overwrite parent spans
Trait Implementations§
Source§impl Clone for SpanFormat
impl Clone for SpanFormat
Source§fn clone(&self) -> SpanFormat
fn clone(&self) -> SpanFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpanFormat
impl Debug for SpanFormat
Source§impl Default for SpanFormat
impl Default for SpanFormat
Source§impl PartialEq for SpanFormat
impl PartialEq for SpanFormat
impl Copy for SpanFormat
impl Eq for SpanFormat
impl StructuralPartialEq for SpanFormat
Auto Trait Implementations§
impl Freeze for SpanFormat
impl RefUnwindSafe for SpanFormat
impl Send for SpanFormat
impl Sync for SpanFormat
impl Unpin for SpanFormat
impl UnwindSafe for SpanFormat
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