pub type AccumulatorFactoryFunction = Arc<dyn Fn(&DataType) -> Result<Box<dyn Accumulator>> + Send + Sync>;
Expand description

Factory that returns an accumulator for the given aggregate, given its return datatype.

Aliased Type§

struct AccumulatorFactoryFunction { /* private fields */ }

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Arc<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.