Skip to main content

Transform

Trait Transform 

Source
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§

Source

fn apply<'a>(&self, events: Events<'a>) -> Events<'a>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§