pub struct DefaultCompilationService { /* private fields */ }Expand description
Default CompilationService: sh -c <cmd>, pipe-captured,
streamed over the event bus.
Implementations§
Source§impl DefaultCompilationService
impl DefaultCompilationService
pub fn new( events: Arc<EventBus>, runtime: Handle, qf_bus: InboundBus<Vec<ErrorEntry>>, ) -> Self
Sourcepub fn with_ansi_slot(self, slot: CompilationAnsiSlot) -> Self
pub fn with_ansi_slot(self, slot: CompilationAnsiSlot) -> Self
CM.5: read the ANSI palette from slot when a run starts.
Separate from Self::new because a stripped test harness
stands up neither a theme registry nor the slot — and a service
without one is still correct, just monochrome.
Sourcepub fn with_parser_factories(
self,
handle: CompilationParserFactoriesHandle,
) -> Self
pub fn with_parser_factories( self, handle: CompilationParserFactoriesHandle, ) -> Self
CM.6b: read plugin-contributed parser factories from handle
when a run starts.
Separate from Self::new for the same reason the ANSI slot is:
a stripped harness registers no handle, and a service without one
is still correct — it just runs the built-in parsers only.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DefaultCompilationService
impl !UnwindSafe for DefaultCompilationService
impl Freeze for DefaultCompilationService
impl Send for DefaultCompilationService
impl Sync for DefaultCompilationService
impl Unpin for DefaultCompilationService
impl UnsafeUnpin for DefaultCompilationService
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