Struct deno_runtime::web_worker::WebWorkerInternalHandle [−][src]
pub struct WebWorkerInternalHandle {
pub port: Rc<MessagePort>,
pub cancel: Rc<CancelHandle>,
pub worker_type: WebWorkerType,
// some fields omitted
}
Fields
port: Rc<MessagePort>
cancel: Rc<CancelHandle>
worker_type: WebWorkerType
Implementations
Post WorkerEvent to parent as a worker
Check if this worker is terminated or being terminated
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for WebWorkerInternalHandle
impl !Send for WebWorkerInternalHandle
impl !Sync for WebWorkerInternalHandle
impl Unpin for WebWorkerInternalHandle
impl !UnwindSafe for WebWorkerInternalHandle
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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