Struct deno_runtime::web_worker::WebWorkerOptions
source · [−]pub struct WebWorkerOptions {Show 20 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 preload_module_cb: Arc<PreloadModuleCb>,
pub source_map_getter: Option<Box<dyn SourceMapGetter>>,
pub js_error_create_fn: Option<Rc<JsErrorCreateFn>>,
pub use_deno_namespace: bool,
pub worker_type: WebWorkerType,
pub maybe_inspector_server: Option<Arc<InspectorServer>>,
pub get_error_class_fn: Option<GetErrorClassFn>,
pub blob_store: BlobStore,
pub broadcast_channel: InMemoryBroadcastChannel,
pub shared_array_buffer_store: Option<SharedArrayBufferStore>,
pub compiled_wasm_module_store: Option<CompiledWasmModuleStore>,
pub maybe_exit_code: Option<Arc<AtomicI32>>,
}
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>
preload_module_cb: Arc<PreloadModuleCb>
source_map_getter: Option<Box<dyn SourceMapGetter>>
js_error_create_fn: Option<Rc<JsErrorCreateFn>>
use_deno_namespace: bool
worker_type: WebWorkerType
maybe_inspector_server: Option<Arc<InspectorServer>>
get_error_class_fn: Option<GetErrorClassFn>
blob_store: BlobStore
broadcast_channel: InMemoryBroadcastChannel
compiled_wasm_module_store: Option<CompiledWasmModuleStore>
maybe_exit_code: Option<Arc<AtomicI32>>
Auto Trait Implementations
impl !RefUnwindSafe for WebWorkerOptions
impl !Send for WebWorkerOptions
impl !Sync for WebWorkerOptions
impl Unpin for WebWorkerOptions
impl !UnwindSafe for WebWorkerOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more