pub trait MapFn<T>: OptPartialEq + OptDebug {
type Output;
// Required method
fn apply(self, input: T) -> Self::Output;
}Expand description
Local definition of the unstable FnOnce trait, allowing users of this crate to implement mapping functions that are PartialEq and Debug for observability purposes.