pub trait Spawnable:
'static
+ Send
+ Future<Output: Send + 'static + Debug> { }Expand description
An async function that is able to be spawned (Not directly able to be spawned on WASM because of the return type)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".