/*
    This file is part of jellything (https://codeberg.org/metamuffin/jellything)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2026 metamuffin <metamuffin.org>
*/

use crate::RowNum;
use anyhow::Result;

pub struct MergeIterator<'a> {
    iters: Vec<Box<dyn Iterator<Item = Result<(RowNum, Vec<u8>)>> + 'a>>,
}
impl<'a> MergeIterator<'a> {
    pub fn new(iters: Vec<Box<dyn Iterator<Item = Result<(RowNum, Vec<u8>)>> + 'a>>) -> Self {
        Self { iters }
    }
}
impl<'a> Iterator for MergeIterator<'a> {
    type Item = Result<(RowNum, Vec<u8>)>;
    fn next(&mut self) -> Option<Self::Item> {
        let _ = self.iters;
        todo!()
    }
}
