[][src]Crate deno_core

Re-exports

pub use rusty_v8 as v8;

Modules

plugin_api

Macros

crate_modules
include_crate_modules

Structs

CoreIsolate

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

CoreIsolateState

Internal state for CoreIsolate which is stored in one of v8::Isolate's embedder slots.

Deps

This is a tree structure representing the dependencies of a given module. Use Modules::deps to construct it. The 'deps' member is None if this module was already seen elsewhere in the tree.

ErrBox
EsIsolate

More specialized version of CoreIsolate that provides loading and execution of ES Modules.

EsIsolateState
JSError

A JSError represents an exception coming from V8, with stack frames and line numbers. The deno_cli crate defines another JSError type, which wraps the one defined here, that adds source map support and colorful formatting.

ModuleSource

EsModule source code that will be loaded into V8.

ModuleSpecifier

Resolved module specifier

RecursiveModuleLoad

This future is used to implement parallel async module loading without that is consumed by the isolate.

ResourceTable
Script

Stores a script used to initialize a Isolate

ZeroCopyBuf

A ZeroCopyBuf encapsulates a slice that's been borrowed from a JavaScript ArrayBuffer object. JavaScript objects can normally be garbage collected, but the existence of a ZeroCopyBuf inhibits this until it is dropped. It behaves much like an Arc<u8>.

Enums

ModuleResolutionError

Error indicating the reason resolving a module specifier failed.

Op
Snapshot
StartupData

Represents data used to initialize an isolate at startup, either in the form of a binary snapshot or a JavaScript source file.

Constants

DENO_CRATE_PATH

Traits

ModuleLoader

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.

v8_version

Type Definitions

Buf
ModuleId
ModuleLoadId
ModuleSourceFuture
OpAsyncFuture
OpId