Struct deno_simple_runtime::web_worker::WebWorkerOptions
source · [−]pub struct WebWorkerOptions {Show 19 fields
pub bootstrap: BootstrapOptions,
pub unsafely_ignore_certificate_errors: Option<Vec<String>>,
pub root_cert_store: Option<RootCertStore>,
pub seed: Option<u64>,
pub module_loader: Rc<dyn ModuleLoader>,
pub create_web_worker_cb: Arc<CreateWebWorkerCb>,
pub preload_module_cb: Arc<PreloadModuleCb>,
pub format_js_error_fn: Option<Arc<FormatJsErrorFn>>,
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>>,
pub stdio: Stdio,
pub permissions: Permissions,
pub startup_snapshot: Option<StartSnapshot>,
}
Fields
bootstrap: BootstrapOptions
unsafely_ignore_certificate_errors: Option<Vec<String>>
root_cert_store: Option<RootCertStore>
seed: Option<u64>
module_loader: Rc<dyn ModuleLoader>
create_web_worker_cb: Arc<CreateWebWorkerCb>
preload_module_cb: Arc<PreloadModuleCb>
format_js_error_fn: Option<Arc<FormatJsErrorFn>>
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>>
stdio: Stdio
permissions: Permissions
startup_snapshot: Option<StartSnapshot>
Trait Implementations
sourceimpl Clone for WebWorkerOptions
impl Clone for WebWorkerOptions
sourcefn clone(&self) -> WebWorkerOptions
fn clone(&self) -> WebWorkerOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
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