pub trait AsCollection<G: Scope, C> {
// Required method
fn as_collection(&self) -> Collection<G, C>;
}Expand description
Conversion to a differential dataflow Collection.
Required Methods§
Sourcefn as_collection(&self) -> Collection<G, C>
fn as_collection(&self) -> Collection<G, C>
Converts the type to a differential dataflow collection.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<G: Scope, C: Clone> AsCollection<G, C> for StreamCore<G, C>
impl<G: Scope, C: Clone> AsCollection<G, C> for StreamCore<G, C>
Source§fn as_collection(&self) -> Collection<G, C>
fn as_collection(&self) -> Collection<G, C>
Converts the type to a differential dataflow collection.
By calling this method, you guarantee that the timestamp invariant (as documented on Collection) is upheld. This method will not check it.