[][src]Trait cw::count::Counter

pub trait Counter {
    fn capabilities(&self) -> Capability;
fn count<R: Read>(&self, r: R, count: &mut Counts, opt: &Opt) -> Result<()>; fn count_file<F: AsRef<Path>>(&self, path: F, opt: &Opt) -> Result<Counts> { ... } }

Required methods

fn capabilities(&self) -> Capability

fn count<R: Read>(&self, r: R, count: &mut Counts, opt: &Opt) -> Result<()>

Loading content...

Provided methods

fn count_file<F: AsRef<Path>>(&self, path: F, opt: &Opt) -> Result<Counts>

Loading content...

Implementors

impl Counter for Strategy[src]

Loading content...