pub fn finish(self) -> errors::Result<WasmPlugin> {
        let mut import_object = wasmer::ImportObject::new();
        import_object.register("env", self.env);
        Ok(WasmPlugin {
            instance: Instance::new(&self.module, &import_object)?,
            garbage: self.garbage,
        })
    }
/// Finalize the builder and create the WasmPlugin ready for use.
Finalize the builder and create the WasmPlugin ready for use.
Finalize the builder and create the WasmPlugin ready for use .
pub fn finish(self) -> errors::Result<WasmPlugin> {
        let mut import_object = wasmer::ImportObject::new();
        import_object.register("env", self.env);
        Ok(WasmPlugin {
            instance: Instance::new(&self.module, &import_object)?,
            garbage: self.garbage,
        })
    }
pub fn finish ( self ) -> errors :: Result < WasmPlugin > { let mut import_object = wasmer :: ImportObject :: new ( ) ; import_object . register ( " " , self . env ) ; Ok ( WasmPlugin { instance : Instance :: new ( & self . module , & import_object ) ? , garbage : self . garbage , } ) }
Finalize the builder and create the WasmPlugin ready for use.
Finalize the builder and create the WasmPlugin ready for use .
self