pub struct TracingCompleteEvent { /* private fields */ }Available on crate features
experimental and Tracing and IO only.Expand description
Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.
Implementations§
Source§impl TracingCompleteEvent
impl TracingCompleteEvent
pub fn builder() -> TracingCompleteEventBuilder
Sourcepub fn data_loss_occurred(&self) -> bool
pub fn data_loss_occurred(&self) -> bool
Indicates whether some trace data is known to have been lost, e.g. because the trace ring buffer wrapped around.
Sourcepub fn stream(&self) -> Option<&StreamHandle>
pub fn stream(&self) -> Option<&StreamHandle>
A handle of the stream that holds resulting trace data.
Sourcepub fn trace_format(&self) -> Option<&StreamFormat>
pub fn trace_format(&self) -> Option<&StreamFormat>
Trace data format of returned stream.
Sourcepub fn stream_compression(&self) -> Option<&StreamCompression>
pub fn stream_compression(&self) -> Option<&StreamCompression>
Compression format of returned stream.
Trait Implementations§
Source§impl Clone for TracingCompleteEvent
impl Clone for TracingCompleteEvent
Source§fn clone(&self) -> TracingCompleteEvent
fn clone(&self) -> TracingCompleteEvent
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 TracingCompleteEvent
impl Debug for TracingCompleteEvent
Source§impl<'de> Deserialize<'de> for TracingCompleteEvent
impl<'de> Deserialize<'de> for TracingCompleteEvent
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 TracingCompleteEvent
impl RefUnwindSafe for TracingCompleteEvent
impl Send for TracingCompleteEvent
impl Sync for TracingCompleteEvent
impl Unpin for TracingCompleteEvent
impl UnwindSafe for TracingCompleteEvent
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