Function futures::future::maybe_done [−][src]
pub fn maybe_done<Fut>(future: Fut) -> MaybeDone<Fut> where
Fut: Future,
Creates a new future from a closure.
pub fn maybe_done<Fut>(future: Fut) -> MaybeDone<Fut> where
Fut: Future,
Creates a new future from a closure.