pub struct Accumulator { /* private fields */ }Implementations§
Source§impl Accumulator
impl Accumulator
pub fn new(agg: Agg) -> Self
pub fn with_settings(agg: Agg, settings: StorageAccumulatorSettings) -> Self
pub fn push(&mut self, capture: u64, value: &ScalarValue) -> Result<()>
pub fn finish( self, check: &mut impl FnMut() -> Result<()>, ) -> Result<ScalarValue>
Trait Implementations§
Source§impl Clone for Accumulator
impl Clone for Accumulator
Auto Trait Implementations§
impl Freeze for Accumulator
impl RefUnwindSafe for Accumulator
impl Send for Accumulator
impl Sync for Accumulator
impl Unpin for Accumulator
impl UnsafeUnpin for Accumulator
impl UnwindSafe for Accumulator
Blanket Implementations§
impl<T> Allocation for T
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