pub enum SpanRetention {
Recent,
All,
}Expand description
How many of a session’s tool spans a tracker keeps.
Variants§
Recent
The newest MAX_SPANS, enough for the live waterfall. The default.
All
Every span in the transcript, for a trace export. Memory grows with the session, so this is for a single pass, not a tracker kept across refreshes.
Trait Implementations§
Source§impl Clone for SpanRetention
impl Clone for SpanRetention
Source§fn clone(&self) -> SpanRetention
fn clone(&self) -> SpanRetention
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpanRetention
Source§impl Debug for SpanRetention
impl Debug for SpanRetention
Source§impl Default for SpanRetention
impl Default for SpanRetention
Source§fn default() -> SpanRetention
fn default() -> SpanRetention
Returns the “default value” for a type. Read more
impl Eq for SpanRetention
Source§impl PartialEq for SpanRetention
impl PartialEq for SpanRetention
impl StructuralPartialEq for SpanRetention
Auto Trait Implementations§
impl Freeze for SpanRetention
impl RefUnwindSafe for SpanRetention
impl Send for SpanRetention
impl Sync for SpanRetention
impl Unpin for SpanRetention
impl UnsafeUnpin for SpanRetention
impl UnwindSafe for SpanRetention
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