Trait opendal::raw::MaybeSend

source ·
pub unsafe trait MaybeSend: Send { }
Expand description

MaybeSend is a marker to determine whether a type is Send or not. We use this trait to wrap the Send requirement for wasm32 target.

§Safety

MaybeSend equivalent to Send on non-wasm32 target. And it’s empty on wasm32 target.

Implementors§

source§

impl<T: Send> MaybeSend for T

Available on non-WebAssembly only.