Function erase

Source
pub fn erase<F, Fut>(_f: F) -> BuiltinFn
where F: Fn(ArgType) -> Fut + Copy, Fut: Future<Output = BuiltinResult> + 'static,
Expand description

Provided by u/dtolnay