Function throwing_function

Source
pub fn throwing_function<A, R, F: Fn(A) -> R>(function: F) -> Function<F, A>