wasmtime

Trait WasmRet

source
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.

Implementations on Foreign Types§

source§

impl WasmRet for ()

source§

impl<A1> WasmRet for (A1,)
where A1: WasmTy,

source§

impl<A1, A2> WasmRet for (A1, A2)
where A1: WasmTy, A2: WasmTy,

source§

impl<A1, A2, A3> WasmRet for (A1, A2, A3)
where A1: WasmTy, A2: WasmTy, A3: WasmTy,

source§

impl<A1, A2, A3, A4> WasmRet for (A1, A2, A3, A4)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy,

source§

impl<A1, A2, A3, A4, A5> WasmRet for (A1, A2, A3, A4, A5)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6> WasmRet for (A1, A2, A3, A4, A5, A6)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7> WasmRet for (A1, A2, A3, A4, A5, A6, A7)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy, A14: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy, A14: WasmTy, A15: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy, A14: WasmTy, A15: WasmTy, A16: WasmTy,

source§

impl<A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17> WasmRet for (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)
where A1: WasmTy, A2: WasmTy, A3: WasmTy, A4: WasmTy, A5: WasmTy, A6: WasmTy, A7: WasmTy, A8: WasmTy, A9: WasmTy, A10: WasmTy, A11: WasmTy, A12: WasmTy, A13: WasmTy, A14: WasmTy, A15: WasmTy, A16: WasmTy, A17: WasmTy,

source§

impl<T> WasmRet for Result<T>
where T: WasmRet,

Implementors§

source§

impl<T> WasmRet for T
where T: WasmTy,