Trait vector_core::transform::FunctionTransform
source · pub trait FunctionTransform:
Send
+ DynClone
+ Sync {
// Required method
fn transform(&mut self, output: &mut OutputBuffer, event: Event);
}
Expand description
Transforms that are simple, and don’t require attention to coordination. You can run them as simple functions over events in any order.
§Invariants
- It is an illegal invariant to implement
FunctionTransform
for aTaskTransform
or vice versa.