pub trait Texts {
// Required method
fn text(&self, path: &str) -> Result<Option<String>, String>;
}Expand description
Where load_json finds a file’s text: in the CLI, relative to the directory it runs in.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".