use crate::sync::flow::ErrFlow;
use crate::__internal::shared_step::ErrInspectStep;
impl<InspectorFn, ErrType> ErrFlow<ErrType> for ErrInspectStep<ErrType, InspectorFn>
where
InspectorFn: Fn(&ErrType),
{
type OutputErr = ErrType;
fn apply_err(&self, input_err: ErrType) -> Self::OutputErr {
self.apply(input_err)
}
}