Skip to main content

RecorderPipelineExt

Trait RecorderPipelineExt 

pub trait RecorderPipelineExt<M>: Sized
where M: BufferMode,
{ // Required method fn with_custom_pipeline<F>(self, build: F) -> Self where F: FnOnce(PipelineBuilder<M>) -> PipelineBuilder<M>; }
Available on crate feature dial9 only.
Expand description

dial9 pipeline presets on the recorder builder.

The default pipeline is automatic: source-requested stages (for example CPU sample symbolization) run at build-time wiring, then segments are compressed and written back. If there are no stages and no upload target, no worker starts. These methods customize that behavior.

Required Methods§

fn with_custom_pipeline<F>(self, build: F) -> Self

Replace the default pipeline with your own processors, run verbatim.

Nothing is added for you, so chain symbolize yourself if the trace has CPU samples. Disk-only steps like write_back are out of scope on a memory writer (compile error).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§