Skip to main content

WasmCompatSync

Trait WasmCompatSync 

Source
pub trait WasmCompatSync: Sync { }
Expand description

Sync on native targets and a no-op marker on WebAssembly.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T> WasmCompatSync for T
where T: Sync,

Available on non-target_family=wasm only.