Differ

Trait Differ 

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

Source

fn diff_name() -> &'static str

Source

fn patch_name() -> &'static str

Source

fn diff(source: &[u8], target: &[u8]) -> Result<Vec<u8>>

Source

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.

Implementors§