result-transformer-flow 0.0.1

Traits, macros and utilities for transforming Result values.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::sync::flow::ErrFlow;

use crate::__internal::shared_step::ErrNoopStep;

impl<ErrType> ErrFlow<ErrType> for ErrNoopStep<ErrType> {
    type OutputErr = ErrType;

    /// Implementation of [`ErrFlow::apply_err`].
    fn apply_err(&self, input_err: ErrType) -> Self::OutputErr {
        self.apply(input_err)
    }
}