pub trait Transform: Send + Sync {
// Required method
fn apply<'a>(&self, events: Events<'a>) -> Events<'a>;
}Expand description
Transforms the stream. These chain for free because they are iterator adapters.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".