pub struct LocalExecutor { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Executor for LocalExecutor
impl Executor for LocalExecutor
fn run(&self, query: &str) -> Result<Vec<Cell>>
Source§fn run_fresh(&self, query: &str) -> Result<Vec<Cell>>
fn run_fresh(&self, query: &str) -> Result<Vec<Cell>>
Run against a freshly re-materialized source — the
&N!
live reading. The default re-runs against the standing arbor
(an immutable source never drifts); executors that can re-open
the source override it so a live reading sees current data,
diverging from the frozen &N#.Source§fn complete(&self, text: &str, cursor: usize) -> Vec<Candidate>
fn complete(&self, text: &str, cursor: usize) -> Vec<Candidate>
Tab-completion candidates at a byte cursor. The default
answers the syntax tier (the stdlib registry needs no
adapter), so even a daemon-backed session completes
function names; executors with a live arbor override this
with the data tier — real children, real annotations.
Auto Trait Implementations§
impl !Freeze for LocalExecutor
impl !RefUnwindSafe for LocalExecutor
impl !Send for LocalExecutor
impl !Sync for LocalExecutor
impl !UnwindSafe for LocalExecutor
impl Unpin for LocalExecutor
impl UnsafeUnpin for LocalExecutor
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