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

Factory that returns the types used by an aggregator to serialize its state, given its return datatype.

Aliased Type§

struct StateTypeFunction { /* 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.