gix_features::parallel::reduce

Trait Finalize

source
pub trait Finalize {
    type Reduce: Reduce;

    // Required method
    fn finalize(
        self,
    ) -> Result<<<Self as Finalize>::Reduce as Reduce>::Output, <<Self as Finalize>::Reduce as Reduce>::Error>;
}
Expand description

A trait reflecting the finalize() method of Reduce implementations

Required Associated Types§

source

type Reduce: Reduce

An implementation of Reduce

Required Methods§

source

fn finalize( self, ) -> Result<<<Self as Finalize>::Reduce as Reduce>::Output, <<Self as Finalize>::Reduce as Reduce>::Error>

Similar to the Reduce::finalize() method

Implementors§

source§

impl<R: Reduce> Finalize for Stepwise<R>

Available on crate feature parallel only.