Struct deno_core::FsModuleLoader[][src]

pub struct FsModuleLoader;
Expand description

Basic file system module loader.

Note that this loader will block event loop when loading file as it uses synchronous FS API from standard library.

Trait Implementations

Returns an absolute URL. When implementing an spec-complaint VM, this should be exactly the algorithm described here: https://html.spec.whatwg.org/multipage/webappapis.html#resolve-a-module-specifier Read more

Given ModuleSpecifier, load its source code. Read more

This hook can be used by implementors to do some preparation work before starting loading of modules. 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.