pub enum PickerInitResult {
Inline(CandidateBatch),
Future(CandidateFuture),
Stream(CandidateStream),
}Expand description
Three init shapes covering every Phase 4-8 picker
pattern. The choice is per-invocation – a single source
can return different shapes depending on args (e.g. a
future grep source could Inline an empty result on
empty pattern, Stream otherwise).
Variants§
Inline(CandidateBatch)
Sync sources (files, recent, lines, marks, registers, jumps, commands, snippets, tree-sitter outline).
Future(CandidateFuture)
One-shot async (LSP references / definitions / symbols / code actions / diagnostics snapshot).
Stream(CandidateStream)
Multi-batch streaming (live-grep subprocess, future live LSP completion).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PickerInitResult
impl !Sync for PickerInitResult
impl !UnwindSafe for PickerInitResult
impl Freeze for PickerInitResult
impl Send for PickerInitResult
impl Unpin for PickerInitResult
impl UnsafeUnpin for PickerInitResult
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