Skip to main content

ForEachRefMailmapRewrite

Trait ForEachRefMailmapRewrite 

Source
pub trait ForEachRefMailmapRewrite {
    // Required method
    fn rewrite_identity(&self, identity: &[u8]) -> (Vec<u8>, Vec<u8>);
}
Expand description

Identity rewriting for the mailmap atom options. The mailmap parser remains a CLI adapter; ref-filter only needs the rewrite.

Required Methods§

Source

fn rewrite_identity(&self, identity: &[u8]) -> (Vec<u8>, Vec<u8>)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§