pub trait EditorService: Send + Sync {
// Required methods
fn open(&self, path: &str, line: Option<usize>) -> Result<(), String>;
fn open_many(&self, paths: &[String]) -> Result<(), String>;
}Expand description
Open files in external editors.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".