Function futures_util::future::maybe_done[][src]

pub fn maybe_done<Fut: Future>(future: Fut) -> MaybeDone<Fut>

Creates a new future from a closure.