pub struct DaemonExecutor { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Executor for DaemonExecutor
impl Executor for DaemonExecutor
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 export(&self, _query: &str, _kind: &str) -> Result<String>
fn export(&self, _query: &str, _kind: &str) -> Result<String>
Run a query and render its results as exportable markup
(
md, html, txt) — structural through the text-level
vocabulary for node results, projection lines otherwise.
Unsupported by default.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 DaemonExecutor
impl RefUnwindSafe for DaemonExecutor
impl Send for DaemonExecutor
impl Sync for DaemonExecutor
impl Unpin for DaemonExecutor
impl UnsafeUnpin for DaemonExecutor
impl UnwindSafe for DaemonExecutor
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