pub struct GroupingOptions<'a, C: GroupingCache> {
pub backend: &'a dyn LlmBackend,
pub cache: &'a C,
pub progress: Option<&'a (dyn Fn(Progress) + Send + Sync)>,
}Fields§
§backend: &'a dyn LlmBackendThe backend, always injected. dyn because config picks which command
to run — the one runtime-open seam in this stage (ADR 0016, 0020).
Cancellation is a property of the backend the caller built
(CommandBackend::with_cancel), not of the pipeline: killing an
in-flight subprocess was never a pipeline concern.
cache: &'a CWhere groupings are pinned. Disabling is a state of the cache
(FsGroupingCache::disabled()), not an Option here.
progress: Option<&'a (dyn Fn(Progress) + Send + Sync)>Stage notifications for renderers that show progress while the
pipeline runs (the TUI’s splash screen). None reports nothing.
Auto Trait Implementations§
impl<'a, C> !RefUnwindSafe for GroupingOptions<'a, C>
impl<'a, C> !UnwindSafe for GroupingOptions<'a, C>
impl<'a, C> Freeze for GroupingOptions<'a, C>
impl<'a, C> Send for GroupingOptions<'a, C>
impl<'a, C> Sync for GroupingOptions<'a, C>
impl<'a, C> Unpin for GroupingOptions<'a, C>
impl<'a, C> UnsafeUnpin for GroupingOptions<'a, C>where
&'a C: UnsafeUnpin,
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