Struct opentelemetry::sdk::export::trace::stdout::PipelineBuilder
source · pub struct PipelineBuilder<W: Write> { /* private fields */ }
Expand description
Pipeline builder
Implementations§
source§impl<W: Write> PipelineBuilder<W>
impl<W: Write> PipelineBuilder<W>
sourcepub fn with_pretty_print(self, pretty_print: bool) -> Self
pub fn with_pretty_print(self, pretty_print: bool) -> Self
Specify the pretty print setting.
sourcepub fn with_trace_config(self, config: Config) -> Self
pub fn with_trace_config(self, config: Config) -> Self
Assign the SDK trace configuration.
sourcepub fn with_writer<T: Write>(self, writer: T) -> PipelineBuilder<T>
pub fn with_writer<T: Write>(self, writer: T) -> PipelineBuilder<T>
Specify the writer to use.
source§impl<W> PipelineBuilder<W>where
W: Write + Debug + Send + 'static,
impl<W> PipelineBuilder<W>where W: Write + Debug + Send + 'static,
sourcepub fn install_simple(self) -> Tracer
pub fn install_simple(self) -> Tracer
Install the stdout exporter pipeline with the recommended defaults.
Trait Implementations§
Auto Trait Implementations§
impl<W> !RefUnwindSafe for PipelineBuilder<W>
impl<W> Send for PipelineBuilder<W>where W: Send,
impl<W> Sync for PipelineBuilder<W>where W: Sync,
impl<W> Unpin for PipelineBuilder<W>where W: Unpin,
impl<W> !UnwindSafe for PipelineBuilder<W>
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