Struct deno_runtime::worker::WorkerOptions
source ·
[−]pub struct WorkerOptions {Show 17 fields
pub bootstrap: BootstrapOptions,
pub extensions: Vec<Extension>,
pub unsafely_ignore_certificate_errors: Option<Vec<String>>,
pub root_cert_store: Option<RootCertStore>,
pub user_agent: String,
pub seed: Option<u64>,
pub module_loader: Rc<dyn ModuleLoader>,
pub create_web_worker_cb: Arc<CreateWebWorkerCb>,
pub js_error_create_fn: Option<Rc<JsErrorCreateFn>>,
pub maybe_inspector_server: Option<Arc<InspectorServer>>,
pub should_break_on_first_statement: bool,
pub get_error_class_fn: Option<GetErrorClassFn>,
pub origin_storage_dir: Option<PathBuf>,
pub blob_store: BlobStore,
pub broadcast_channel: InMemoryBroadcastChannel,
pub shared_array_buffer_store: Option<SharedArrayBufferStore>,
pub compiled_wasm_module_store: Option<CompiledWasmModuleStore>,
}
Fields
bootstrap: BootstrapOptions
extensions: Vec<Extension>
unsafely_ignore_certificate_errors: Option<Vec<String>>
root_cert_store: Option<RootCertStore>
user_agent: String
seed: Option<u64>
module_loader: Rc<dyn ModuleLoader>
create_web_worker_cb: Arc<CreateWebWorkerCb>
js_error_create_fn: Option<Rc<JsErrorCreateFn>>
maybe_inspector_server: Option<Arc<InspectorServer>>
should_break_on_first_statement: bool
get_error_class_fn: Option<GetErrorClassFn>
origin_storage_dir: Option<PathBuf>
blob_store: BlobStore
broadcast_channel: InMemoryBroadcastChannel
compiled_wasm_module_store: Option<CompiledWasmModuleStore>
Auto Trait Implementations
impl !RefUnwindSafe for WorkerOptions
impl !Send for WorkerOptions
impl !Sync for WorkerOptions
impl Unpin for WorkerOptions
impl !UnwindSafe for WorkerOptions
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