pub trait MapResultFn { type Input; type Output; // Required method fn map(self, input: Self::Input) -> Self::Output; }