Skip to main content

MaybeSendSync

Trait MaybeSendSync 

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

Bound on values shared between tasks: Send + Sync on native, unconstrained in the browser.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: Send + Sync + ?Sized> MaybeSendSync for T

Available on not (target_family=wasm and crate feature browser).