Skip to main content

MaybeSend

Trait MaybeSend 

Source
pub trait MaybeSend: Send { }
Expand description

MaybeSend is a marker to determine whether a type is Send or not.

MaybeSend is equivalent to Send on non-wasm32 target.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: Send> MaybeSend for T

Available on non-WebAssembly only.