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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<T, O> FutureMaybeSend<O> for T
Available on non-
target_family=wasm only.