Skip to main content

MaybeSync

Trait MaybeSync 

Source
pub trait MaybeSync: Sync { }
Expand description

Sync on native targets; implemented for every type on wasm32.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: Sync + ?Sized> MaybeSync for T

Available on non-WebAssembly only.