[][src]Crate deno

Structs

Isolate

A single execution context of JavaScript. Corresponds roughly to the "Web Worker" concept in the DOM. An Isolate is a Future that can be used with Tokio. The Isolate future complete when there is an error or when all pending ops have completed.

IsolateHandle

IsolateHandle is a thread safe handle on an Isolate. It exposed thread safe V8 functions.

JSError
Modules

A collection of JS modules.

RecursiveLoad

This future is used to implement parallel async module loading without complicating the Isolate API.

Script

Stores a script used to initalize a Isolate

StackFrame
deno_buf

If "alloc_ptr" is not null, this type represents a buffer which is created in C side, and then passed to Rust side by deno_recv_cb. Finally it should be moved back to C side by deno_respond. If it is not passed to deno_respond in the end, it will be leaked.

Enums

Either
StartupData

Represents data used to initialize isolate at startup either a binary snapshot or a javascript source file in the form of the StartupScript struct.

Traits

Dispatch

Defines the how Deno.core.dispatch() acts.

Loader

Functions

js_check
v8_set_flags

Pass the command line arguments to v8. Returns a vector of command line arguments that V8 did not understand. Translates --v8-options into a --help flag for V8.

v8_version

Type Definitions

Buf
Op
SourceCodeFuture
deno_mod