pub unsafe trait WasmRet { }
Available on crate feature
runtime
only.Expand description
A trait implemented for types which can be returned from closures passed to
Func::wrap
and friends.
This trait should not be implemented by user types. This trait may change at any time internally. The types which implement this trait, however, are stable over time.
For more information see Func::wrap
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.