pub fn wait_for_next_incremental_snapshot(
        &self,
        snapshot_archives_dir: impl AsRef<Path>,
    ) -> (IncrementalSnapshotArchiveInfo, FullSnapshotArchiveInfo) {
        match self.wait_for_next_snapshot(
            snapshot_archives_dir,
            NextSnapshotType::IncrementalAndFullSnapshot,
        ) {
            NextSnapshotResult::IncrementalAndFullSnapshot(
                incremental_snapshot_archive_info,
                full_snapshot_archive_info,
            ) => (
                incremental_snapshot_archive_info,
                full_snapshot_archive_info,
            ),
            _ => unreachable!(),
        }
    }
/// Return the next incremental snapshot archive info (and associated full snapshot archive info)
/// after the cluster's last processed slot
Return the next incremental snapshot archive info (and associated full snapshot archive info)
after the cluster's last processed slot
Return the next incremental snapshot archive info ( and associated full snapshot archive info ) after the cluster ' s last processed slot
pub fn wait_for_next_incremental_snapshot(
        &self,
        snapshot_archives_dir: impl AsRef<Path>,
    ) -> (IncrementalSnapshotArchiveInfo, FullSnapshotArchiveInfo) {
        match self.wait_for_next_snapshot(
            snapshot_archives_dir,
            NextSnapshotType::IncrementalAndFullSnapshot,
        ) {
            NextSnapshotResult::IncrementalAndFullSnapshot(
                incremental_snapshot_archive_info,
                full_snapshot_archive_info,
            ) => (
                incremental_snapshot_archive_info,
                full_snapshot_archive_info,
            ),
            _ => unreachable!(),
        }
    }
pub fn wait_for_next_incremental_snapshot ( & self , snapshot_archives_dir : impl AsRef < Path > , ) -> ( IncrementalSnapshotArchiveInfo , FullSnapshotArchiveInfo ) { match self . wait_for_next_snapshot ( snapshot_archives_dir , NextSnapshotType :: IncrementalAndFullSnapshot , ) { NextSnapshotResult :: IncrementalAndFullSnapshot ( incremental_snapshot_archive_info , full_snapshot_archive_info , ) => ( incremental_snapshot_archive_info , full_snapshot_archive_info , ) , _ => unreachable ! ( ) , } }
Return the next incremental snapshot archive info (and associated full snapshot archive info)
after the cluster's last processed slot
Return the next incremental snapshot archive info ( and associated full snapshot archive info ) after the cluster ' s last processed slot
&self
snapshot_archives_dir
impl AsRef<Path>