pub trait FoldFunction: Send + Sync {
// Required method
fn fold(&self, accumulator: Vec<u8>, value: Vec<u8>) -> Vec<u8> ⓘ;
}Expand description
Function for folding elements with an accumulator.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".