pub trait FutureMaybeSend<O>: Future<Output = O> + Send { }
Expand description
Alias for a Future
Unless the compilation target family is wasm
, we add Send
to the required bounds. For
wasm
compilation targets there is no Send
bound.
We also provide a blank implementation of this trait for all features.
Implementors§
impl<T, O> FutureMaybeSend<O> for T
Available on non-
target_family=wasm
only.