pub fn convert<Si: Send, Ri, Ei: Send, So, Ro, Eo>(
    pair: impl Pair<Si, Ri, Ei>,
    fr: impl Fn(Result<Ri, Ei>) -> Result<Ro, Eo> + Send,
    fs: impl Fn(Result<So, Eo>) -> Result<Si, Ei> + Send
) -> impl Pair<So, Ro, Eo>
Expand description

Apply a pair of synchronous conversions to a Pair, returning another Pair

Any errors in conversion will be returned from the Stream / sent into the Sink