Trait completest_pty::Runtime
source · pub trait Runtime: Debug {
// Required methods
fn home(&self) -> &Path;
fn register(&mut self, name: &str, content: &str) -> Result<(), Error>;
fn complete(&mut self, input: &str, term: &Term) -> Result<String, Error>;
}
Available on Unix only.
Expand description
Run completions for a shell