pub(crate) struct ScriptThreadSenders {
pub(crate) self_sender: Sender<MainThreadScriptMsg>,
pub(crate) bluetooth_sender: IpcSender<BluetoothRequest>,
pub(crate) constellation_sender: GenericSender<ScriptThreadMessage>,
pub(crate) pipeline_to_constellation_sender: GenericSender<(WebViewId, PipelineId, ScriptToConstellationMessage)>,
pub(crate) pipeline_to_embedder_sender: ScriptToEmbedderChan,
pub(crate) image_cache_sender: IpcSender<ImageCacheResponseMessage>,
pub(crate) time_profiler_sender: ProfilerChan,
pub(crate) memory_profiler_sender: ProfilerChan,
pub(crate) devtools_server_sender: Option<IpcSender<ScriptToDevtoolsControlMsg>>,
pub(crate) devtools_client_to_script_thread_sender: IpcSender<DevtoolScriptControlMsg>,
pub(crate) content_process_shutdown_sender: Sender<()>,
}Fields§
§self_sender: Sender<MainThreadScriptMsg>A channel to hand out to script thread-based entities that need to be able to enqueue events in the event queue.
bluetooth_sender: IpcSender<BluetoothRequest>A handle to the bluetooth thread.
constellation_sender: GenericSender<ScriptThreadMessage>A Sender that sends messages to the Constellation.
pipeline_to_constellation_sender: GenericSender<(WebViewId, PipelineId, ScriptToConstellationMessage)>A Sender that sends messages to the Constellation associated with
particular pipelines.
pipeline_to_embedder_sender: ScriptToEmbedderChanA channel to send messages to the Embedder.
image_cache_sender: IpcSender<ImageCacheResponseMessage>The shared IpcSender which is sent to the ImageCache when requesting an image. The
messages on this channel are routed to crossbeam Sender on the router thread, which
in turn sends messages to ScriptThreadReceivers::image_cache_receiver.
time_profiler_sender: ProfilerChanFor providing contact with the time profiler.
memory_profiler_sender: ProfilerChanFor providing contact with the memory profiler.
devtools_server_sender: Option<IpcSender<ScriptToDevtoolsControlMsg>>For providing instructions to an optional devtools server.
devtools_client_to_script_thread_sender: IpcSender<DevtoolScriptControlMsg>§content_process_shutdown_sender: Sender<()>Trait Implementations§
Source§impl Clone for ScriptThreadSenders
impl Clone for ScriptThreadSenders
Source§fn clone(&self) -> ScriptThreadSenders
fn clone(&self) -> ScriptThreadSenders
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScriptThreadSenders
impl !RefUnwindSafe for ScriptThreadSenders
impl Send for ScriptThreadSenders
impl !Sync for ScriptThreadSenders
impl Unpin for ScriptThreadSenders
impl UnwindSafe for ScriptThreadSenders
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert