Skip to main content

ReduceFunction

Trait ReduceFunction 

Source
pub trait ReduceFunction: Send + Sync {
    // Required method
    fn reduce(&self, value1: Vec<u8>, value2: Vec<u8>) -> Vec<u8> ;
}
Expand description

Function for reducing elements.

Required Methods§

Source

fn reduce(&self, value1: Vec<u8>, value2: Vec<u8>) -> Vec<u8>

Reduce two values into one.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§