Skip to main content

HalThreadSafe

Trait HalThreadSafe 

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

Marker: implementations of HAL traits must satisfy this.

On native: Send + Sync. On wasm32: automatically satisfied.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: Send + Sync> HalThreadSafe for T

Available on non-WebAssembly only.