pub trait WasmiMarshal: Sized {
// Required methods
fn try_marshal_from_value(v: Value) -> Option<Self>;
fn marshal_from_self(self) -> Value;
}
Required Methods§
fn try_marshal_from_value(v: Value) -> Option<Self>
fn marshal_from_self(self) -> Value
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.