pub fn cancelable_future<A, B>(
future: A,
when_cancelled: B,
) -> (DiscardOnDrop<CancelableFutureHandle>, CancelableFuture<A, B>)
pub fn cancelable_future<A, B>(
future: A,
when_cancelled: B,
) -> (DiscardOnDrop<CancelableFutureHandle>, CancelableFuture<A, B>)