Trait wasmtime_environ::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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FinishedObject for Vec<u8>

Implementors§