Trait krates::OnFilter

source ·
pub trait OnFilter {
    // Required method
    fn filtered(&mut self, krate: Package);
}
Expand description

Trait used to report back any crates that are completely ignored in the final crate graph that is built. This occurs when the crate has no dependents any longer due to the applied filters.

Required Methods§

source

fn filtered(&mut self, krate: Package)

Implementors§

source§

impl OnFilter for NoneFilter

source§

impl<F> OnFilter for F
where F: FnMut(Package),