Struct rusty_v8::WasmStreaming[][src]

#[repr(C)]
pub struct WasmStreaming(_);
Expand description

The V8 interface for WebAssembly streaming compilation. When streaming compilation is initiated, V8 passes a Self object to the embedder such that the embedder can pass the input bytes for streaming compilation to V8.

Implementations

Pass a new chunk of bytes to WebAssembly streaming compilation.

Should be called after all received bytes where passed to Self::on_bytes_received() to tell V8 that there will be no more bytes. Does not have to be called after Self::abort() has been called already.

Abort streaming compilation. If {exception} has a value, then the promise associated with streaming compilation is rejected with that value. If {exception} does not have value, the promise does not get rejected.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.