Type Definition contrafact::Mutation

source ·
pub type Mutation<T> = Result<T, MutationError>;
Expand description

Alias

Trait Implementations§

source§

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

source§

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

Map over only the Failures, leaving other error kinds untouched