pub struct Aggregator { /* private fields */ }Implementations§
Source§impl Aggregator
impl Aggregator
pub fn new<C, M>( correlation: C, combine: M, config: AggregatorConfig, downstream: Arc<dyn Processor>, ) -> Arc<Self>
Sourcepub fn from_arcs(
correlation: Arc<CorrelationFn>,
combine: Arc<CombineFn>,
config: AggregatorConfig,
downstream: Arc<dyn Processor>,
) -> Arc<Self>
pub fn from_arcs( correlation: Arc<CorrelationFn>, combine: Arc<CombineFn>, config: AggregatorConfig, downstream: Arc<dyn Processor>, ) -> Arc<Self>
Type-erased constructor used by code paths that already hold
Arc<CorrelationFn> / Arc<CombineFn> (e.g. the DSL’s node fold).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Aggregator
impl !RefUnwindSafe for Aggregator
impl Send for Aggregator
impl Sync for Aggregator
impl Unpin for Aggregator
impl UnsafeUnpin for Aggregator
impl !UnwindSafe for Aggregator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more