pub trait MaybeSendFuture: Future + Send { }Expand description
A future that is Send on native targets, nothing on wasm32.
Unlike MaybeSend, this can be used as dyn MaybeSendFuture because
it’s a single trait (not dyn Future + MaybeSend).
Implementors§
impl<T: Future + Send> MaybeSendFuture for T
Available on non-WebAssembly only.