pub trait Runtime: Debug {
// Required methods
fn home(&self) -> &Path;
fn register(&mut self, name: &str, content: &str) -> Result<()>;
fn complete(&mut self, input: &str, term: &Term) -> Result<String>;
}Expand description
Run completions for a shell
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".