Trait opendal::raw::MaybeSend

source ·
pub 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 is equivalent to Send on non-wasm32 target. And it’s empty trait on wasm32 target to indicate that a type is not Send.

Implementors§

source§

impl<T: Send> MaybeSend for T

Available on non-WebAssembly only.