Struct tracing_tunnel::PersistedSpans
source · pub struct PersistedSpans { /* private fields */ }
Available on crate feature
receiver
only.Expand description
Information about alive tracing spans for a particular execution that is (de)serializable and
can be persisted across multiple TracingEventReceiver
lifetimes.
Unlike PersistedMetadata
, PersistedSpans
are specific to an executable invocation
(e.g., a WASM module instance). Compared to LocalSpans
, PersistedSpans
have
the lifetime of the execution and not the host Subscriber
.
Implementations§
Trait Implementations§
source§impl Clone for PersistedSpans
impl Clone for PersistedSpans
source§fn clone(&self) -> PersistedSpans
fn clone(&self) -> PersistedSpans
Returns a copy 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 PersistedSpans
impl Debug for PersistedSpans
source§impl Default for PersistedSpans
impl Default for PersistedSpans
source§fn default() -> PersistedSpans
fn default() -> PersistedSpans
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PersistedSpans
impl<'de> Deserialize<'de> for PersistedSpans
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more