[][src]Trait kad::datastore::Reducer

pub trait Reducer {
    type Item;
    fn reduce(_: &mut Vec<Self::Item>);
}

Reducer trait for performing MapReduce on data in the store

Associated Types

type Item

Loading content...

Required methods

fn reduce(_: &mut Vec<Self::Item>)

Loading content...

Implementations on Foreign Types

impl Reducer for u64[src]

type Item = u64

Loading content...

Implementors

Loading content...