A converter that uses closures for conversions.
This is useful when you want to provide custom conversion logic without implementing the TryFrom trait.
A standard converter that uses the TryFrom trait for conversions.
This is the default converter used by Pair when no converter is specified.
Note that this converter requires the TryFrom<&L> for R and TryFrom<&R> for L
implementations, which are not typically implemented by the library authors.
Creates a new FnConverter from two functions.
This is a convenience function for creating a converter that uses closures for conversions.
Note that the type of the converter is not descriptable if you use the closure as an argument.
Use boxed_fn_converter instead if you need a descriptable type.