Skip to main content

CompilationGutterBusHandle

Type Alias CompilationGutterBusHandle 

Source
pub type CompilationGutterBusHandle = Arc<InboundBus<(BufferId, Vec<(u32, ErrorSeverity)>)>>;
Expand description

CM.3c: the off-thread → host-state seam for the *compilation* buffer’s per-buffer severity gutter index. The compilation drain (in CompilationMode::on_activate) sends (buffer_id, full_index) through this bus whenever the index changes; the install-registered handler maps each send to [AppEffect::CompilationGutterSet]. Registered as a ServiceRegistry handle under this exact alias (per the Arc/TypeId convention); the drain looks it up via ctx.service::<CompilationGutterBusHandle>(). send bakes in the editor wake, so marks reach the screen off-keystroke.

Aliased Type§

pub struct CompilationGutterBusHandle { /* private fields */ }