Struct deno_runtime::BootstrapOptions
source ·
[−]pub struct BootstrapOptions {
pub args: Vec<String>,
pub apply_source_maps: bool,
pub cpu_count: usize,
pub debug_flag: bool,
pub enable_testing_features: bool,
pub location: Option<ModuleSpecifier>,
pub no_color: bool,
pub runtime_version: String,
pub ts_version: String,
pub unstable: bool,
}
Expand description
Common bootstrap options for MainWorker & WebWorker
Fields
args: Vec<String>
Sets Deno.args
in JS runtime.
apply_source_maps: bool
cpu_count: usize
debug_flag: bool
enable_testing_features: bool
location: Option<ModuleSpecifier>
no_color: bool
Sets Deno.noColor
in JS runtime.
runtime_version: String
Sets Deno.version.deno
in JS runtime.
ts_version: String
Sets Deno.version.typescript
in JS runtime.
unstable: bool
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BootstrapOptions
impl Send for BootstrapOptions
impl Sync for BootstrapOptions
impl Unpin for BootstrapOptions
impl UnwindSafe for BootstrapOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more