pub trait Differ {
// Required methods
fn diff_name() -> &'static str;
fn patch_name() -> &'static str;
fn diff(source: &[u8], target: &[u8]) -> Result<Vec<u8>>;
fn patch(source: &[u8], patch: &[u8]) -> Result<Vec<u8>>;
}
Required Methods§
fn diff_name() -> &'static str
fn patch_name() -> &'static str
fn diff(source: &[u8], target: &[u8]) -> Result<Vec<u8>>
fn patch(source: &[u8], patch: &[u8]) -> Result<Vec<u8>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.