Skip to main content

PendingSyntheticHighlightsHandle

Type Alias PendingSyntheticHighlightsHandle 

Source
pub type PendingSyntheticHighlightsHandle = Arc<PendingSyntheticHighlights>;
Expand description

The shared handle a producer keeps (e.g. in its Guard or a spawned task).

Unlike BufferStoreHandle, this alias is not the registration key: the host registers PendingSyntheticHighlights itself, and ServiceRegistry::get::<PendingSyntheticHighlights>() yields this Arc. A get::<PendingSyntheticHighlightsHandle>() returns None against the production registration.

Aliased Typeยง

pub struct PendingSyntheticHighlightsHandle { /* private fields */ }