Skip to main content

MaybeSend

Trait MaybeSend 

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

Send + Sync on native targets. No bound on wasm32, where feeds hold JavaScript handles.

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> MaybeSend for T

Available on non-WebAssembly only.