Function concatenator

Source
pub async fn concatenator<P>(
    dest: File,
    parts: P,
    _path: Arc<Path>,
    shutdown: ShutdownManager<()>,
) -> Result<(), Error>
where P: Stream<Item = Result<(Arc<Path>, File), Error>> + Send + Unpin + 'static,
Expand description

Accepts a stream of future file parts and concatenates them into the dest file.