Struct opentelemetry::sdk::export::trace::stdout::PipelineBuilder
source · [−]pub struct PipelineBuilder<W>where
W: Write,{ /* private fields */ }
Available on crate feature
trace
only.Expand description
Pipeline builder
Implementations
sourceimpl<W> PipelineBuilder<W>where
W: Write,
impl<W> PipelineBuilder<W>where
W: Write,
sourcepub fn with_pretty_print(self, pretty_print: bool) -> PipelineBuilder<W>
pub fn with_pretty_print(self, pretty_print: bool) -> PipelineBuilder<W>
Specify the pretty print setting.
sourcepub fn with_trace_config(self, config: Config) -> PipelineBuilder<W>
pub fn with_trace_config(self, config: Config) -> PipelineBuilder<W>
Assign the SDK trace configuration.
sourcepub fn with_writer<T>(self, writer: T) -> PipelineBuilder<T>where
T: Write,
pub fn with_writer<T>(self, writer: T) -> PipelineBuilder<T>where
T: Write,
Specify the writer to use.
sourceimpl<W> PipelineBuilder<W>where
W: 'static + Write + Debug + Send,
impl<W> PipelineBuilder<W>where
W: 'static + Write + Debug + Send,
sourcepub fn install_simple(self) -> Tracer
pub fn install_simple(self) -> Tracer
Install the stdout exporter pipeline with the recommended defaults.
Trait Implementations
sourceimpl<W> Debug for PipelineBuilder<W>where
W: Debug + Write,
impl<W> Debug for PipelineBuilder<W>where
W: Debug + Write,
sourceimpl Default for PipelineBuilder<Stdout>
impl Default for PipelineBuilder<Stdout>
sourcefn default() -> PipelineBuilder<Stdout>
fn default() -> PipelineBuilder<Stdout>
Return the default pipeline builder.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more