Skip to main content

compact_with_iterator

Function compact_with_iterator 

Source
pub async fn compact_with_iterator<K: Key, V: Value, W: WriteBytes + Send>(
    iterator: impl LayerIterator<K, V>,
    num_items: usize,
    writer: W,
    block_size: u64,
    yielder: Option<impl Yielder>,
) -> Result<u64, Error>
Expand description

Writes the items yielded by the iterator into the supplied object.