Function futures_task::future_obj::remove_drop_lifetime

source ยท
unsafe fn remove_drop_lifetime<'a, T>(
    ptr: unsafe fn(_: *mut dyn Future<Output = T> + 'a),
) -> unsafe fn(_: *mut dyn Future<Output = T> + 'static)