pub trait MutationExt<T> {
    // Required method
    fn map_check_err(self, f: impl Fn(Failure) -> Failure) -> Mutation<T>;
}
Expand description

Adds a helpful method to MutationResults

Required Methods§

source

fn map_check_err(self, f: impl Fn(Failure) -> Failure) -> Mutation<T>

Map over only the Failures, leaving other error kinds untouched

Implementors§

source§

impl<T> MutationExt<T> for Mutation<T>