pub trait TupleMapperSecond<Input, Output, Result>where
    Self: Sized,{
    // Required method
    fn map_second(self, mapper: impl FnOnce(Input) -> Output) -> Result;
}

Required Methods§

source

fn map_second(self, mapper: impl FnOnce(Input) -> Output) -> Result

Implementations on Foreign Types§

source§

impl<S, E, I, O> TupleMapperSecond<I, O, Result<(S, O), E>> for Result<(S, I), E>

source§

fn map_second(self, mapper: impl FnOnce(I) -> O) -> Result<(S, O), E>

Implementors§