pub trait Host {
// Required method
fn git(&self, args: &[String]) -> Result<String, String>;
}Expand description
diffr’s implementation of the host functions for one call of a native plugin.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".