To define a custom future, you'll typically use these 4 imports: use futures::prelude::*; use std::pin::Pin; use task::{Waker, Poll}; I think there's a case to be made to expand Rust's std prelude once Futures are stabilized.
Do you have any sources on that? I haven't seen anything about that yet. I'd be very excited if this is something that has been considered and agreed on already!
-
-
Iirc there was a discussion last year about it, don't remember where
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.