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.