pub struct MonthlyRollupService { /* private fields */ }Implementations§
Source§impl MonthlyRollupService
impl MonthlyRollupService
Sourcepub fn new(store: Arc<dyn NodeStore>, validator: Arc<dyn NodeValidator>) -> Self
pub fn new(store: Arc<dyn NodeStore>, validator: Arc<dyn NodeValidator>) -> Self
Create a monthly rollup service with storage and validation dependencies.
Sourcepub async fn create_async(
&self,
request: MonthlyRollupRequest,
) -> MonthlyRollupResult
pub async fn create_async( &self, request: MonthlyRollupRequest, ) -> MonthlyRollupResult
Build a monthly rollup node from source nodes in the requested date range.
Depending on request settings, this can run as preview-only or persist the generated node into the configured store.
Auto Trait Implementations§
impl Freeze for MonthlyRollupService
impl !RefUnwindSafe for MonthlyRollupService
impl Send for MonthlyRollupService
impl Sync for MonthlyRollupService
impl Unpin for MonthlyRollupService
impl UnsafeUnpin for MonthlyRollupService
impl !UnwindSafe for MonthlyRollupService
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