[−][src]Crate deno_core
Macros
crate_modules | |
include_crate_modules | |
init_fn |
Structs
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 | |
ErrWithV8Handle | |
EsIsolate | More specialized version of |
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. |
JSError | A |
JSStackFrame | |
ModuleInfo | |
ModuleSource | EsModule source code that will be loaded into V8. |
ModuleSpecifier | Resolved module specifier |
Modules | A collection of JS modules. |
OpRegistry | |
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 initalize 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>, although a ZeroCopyBuf currently can't be cloned. |
Enums
LoadState | |
ModuleResolutionError | Error indicating the reason resolving a module specifier failed. |
Op | |
SnapshotConfig | |
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. |
Constants
DENO_CRATE_PATH |
Traits
AnyError | |
ModuleLoader | |
PluginInitContext | |
Resource | Abstract type representing resource in Deno. |
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_init⚠ | |
v8_version |
Type Definitions
Buf | |
CoreError | |
CoreOp | |
DynImportId | |
ModuleId | |
ModuleSourceFuture | |
OpAsyncFuture | |
OpDispatcher | Main type describing op |
OpId | |
OpResult | |
PluginInitFn | |
ResourceId | ResourceId is Deno's version of a file descriptor. ResourceId is also referred to as rid in the code base. |