pub trait Transform: Send + Sync {
// Required method
fn apply(&self, sample: Sample) -> Sample;
}Expand description
A transform applied to each sample before batching.
pub trait Transform: Send + Sync {
// Required method
fn apply(&self, sample: Sample) -> Sample;
}A transform applied to each sample before batching.