Skip to main content

MaybeSendSync

Trait MaybeSendSync 

Source
pub trait MaybeSendSync: Send + Sync { }
Expand description

Send + Sync off wasm32, nothing on it — what an event constructor moved into a boxed Events must be.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Send + Sync> MaybeSendSync for T

Available on non-WebAssembly only.