pub trait ValueSerializerImpl {
    fn throw_data_clone_error<'s>(
        &mut self,
        scope: &mut HandleScope<'s>,
        message: Local<'s, String>
    ); fn write_host_object<'s>(
        &mut self,
        scope: &mut HandleScope<'s>,
        _object: Local<'s, Object>,
        _value_serializer: &mut dyn ValueSerializerHelper
    ) -> Option<bool> { ... } fn get_shared_array_buffer_id<'s>(
        &mut self,
        scope: &mut HandleScope<'s>,
        _shared_array_buffer: Local<'s, SharedArrayBuffer>
    ) -> Option<u32> { ... } fn get_wasm_module_transfer_id(
        &mut self,
        scope: &mut HandleScope<'_>,
        _module: Local<'_, WasmModuleObject>
    ) -> Option<u32> { ... } }
Expand description

The ValueSerializerImpl trait allows for custom callback functions used by v8.

Required Methods§

Provided Methods§

Implementors§