Skip to main content

maybe_send

Macro maybe_send 

Source
macro_rules! maybe_send {
    (dyn $($object:tt)+) => { ... };
}
Expand description

A trait object that is Send on native and unconstrained in the browser.

maybe_send!(dyn Future<Output = ()> + 'static) names the object type a native executor may move between threads; see the module documentation.