Trait gix::prelude::Finalize

source ·
pub trait Finalize {
    type Reduce: Reduce;

    // Required method
    fn finalize(
        self
    ) -> Result<<Self::Reduce as Reduce>::Output, <Self::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::Reduce as Reduce>::Output, <Self::Reduce as Reduce>::Error>

Similar to the Reduce::finalize() method

Implementors§

source§

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

§

type Reduce = R