pub fn new(stream: StreamCore<G, C>) -> Collection<G, D, R, C> {
        Collection { inner: stream, phantom: std::marker::PhantomData }
    }
Creates a new Collection from a timely dataflow stream.

This method seems to be rarely used, with the `as_collection` method on streams being a more
idiomatic approach to convert timely streams to collections. Also, the `input::Input` trait
provides a `new_collection` method which will create a new collection for you without exposing
the underlying timely stream at all.

This stream should satisfy the timestamp invariant as documented on [Collection]; this
method does not check it.
differential-dataflow/src/collection.rs