Skip to main content

Host

Trait Host 

Source
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§

Source

fn git(&self, args: &[String]) -> Result<String, String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§