pub struct TracingCompleteEventBuilder { /* private fields */ }Available on crate features
experimental and Tracing and IO only.Implementations§
Source§impl TracingCompleteEventBuilder
impl TracingCompleteEventBuilder
Sourcepub fn data_loss_occurred(&mut self, v: bool) -> &mut Self
pub fn data_loss_occurred(&mut self, v: bool) -> &mut Self
Indicates whether some trace data is known to have been lost, e.g. because the trace ring buffer wrapped around.
Sourcepub fn stream(&mut self, v: StreamHandle) -> &mut Self
pub fn stream(&mut self, v: StreamHandle) -> &mut Self
A handle of the stream that holds resulting trace data.
Sourcepub fn trace_format(&mut self, v: StreamFormat) -> &mut Self
pub fn trace_format(&mut self, v: StreamFormat) -> &mut Self
Trace data format of returned stream.
Sourcepub fn stream_compression(&mut self, v: StreamCompression) -> &mut Self
pub fn stream_compression(&mut self, v: StreamCompression) -> &mut Self
Compression format of returned stream.
pub fn build(&mut self) -> Result<TracingCompleteEvent, &'static str>
Trait Implementations§
Source§impl Clone for TracingCompleteEventBuilder
impl Clone for TracingCompleteEventBuilder
Source§fn clone(&self) -> TracingCompleteEventBuilder
fn clone(&self) -> TracingCompleteEventBuilder
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 TracingCompleteEventBuilder
impl Debug for TracingCompleteEventBuilder
Auto Trait Implementations§
impl Freeze for TracingCompleteEventBuilder
impl RefUnwindSafe for TracingCompleteEventBuilder
impl Send for TracingCompleteEventBuilder
impl Sync for TracingCompleteEventBuilder
impl Unpin for TracingCompleteEventBuilder
impl UnwindSafe for TracingCompleteEventBuilder
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