pub type TreeDiffStream<'matcher> = Pin<Box<dyn Stream<Item = (RepoPathBuf, BackendResult<(MergedTreeValue, MergedTreeValue)>)> + 'matcher>>;
Expand description

Type alias for the result from MergedTree::diff_stream(). We use a Stream instead of an Iterator so high-latency backends (e.g. cloud-based ones) can fetch trees asynchronously.

Aliased Type§

struct TreeDiffStream<'matcher> { /* private fields */ }