pub async fn hash_stream<D, T, S>(stream: S) -> Output<D> where D: Digest, T: Hash<D>, S: Stream<Item = T>,