Skip to main content

CombineError

Trait CombineError 

Source
pub trait CombineError<EA, EB> {
    type Out;

    // Required methods
    fn left(&mut self, ea: EA);
    fn right(&mut self, eb: EB);
    fn finish(self) -> Self::Out;
}

Required Associated Types§

Required Methods§

Source

fn left(&mut self, ea: EA)

Source

fn right(&mut self, eb: EB)

Source

fn finish(self) -> Self::Out

Implementors§

Source§

impl<E> CombineError<Vec<E>, E> for VecCombine<E>

Source§

type Out = Vec<E>

Source§

impl<E> CombineError<E, E> for DefaultCombine<E>

Source§

type Out = E

Source§

impl<T> CombineError<T, T> for VecCombine<T>

Source§

type Out = Vec<T>