wasmtime_environ

Trait FinishedObject

Source
pub trait FinishedObject: Sized {
    // Required method
    fn finish_object(obj: ObjectBuilder<'_>) -> Result<Self>;
}
Expand description

A type which can be the result of serializing an object.

Required Methods§

Source

fn finish_object(obj: ObjectBuilder<'_>) -> Result<Self>

Emit the object as Self.

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.

Implementors§