pub trait PatchDiff {
// Required methods
fn to_patch(&self, max_token_count: usize, model: Model) -> Result<String>;
fn collect_diff_data(&self) -> Result<HashMap<PathBuf, String>>;
fn is_empty(&self) -> Result<bool>;
}Required Methods§
fn to_patch(&self, max_token_count: usize, model: Model) -> Result<String>
fn collect_diff_data(&self) -> Result<HashMap<PathBuf, String>>
fn is_empty(&self) -> Result<bool>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".