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
Auto Trait Implementations§
impl Freeze for PersistedSpans
impl RefUnwindSafe for PersistedSpans
impl Send for PersistedSpans
impl Sync for PersistedSpans
impl Unpin for PersistedSpans
impl UnwindSafe for PersistedSpans
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)