Skip to main content

Sourceable

Trait Sourceable 

Source
pub trait Sourceable<S>
where S: Scope, S::Timestamp: Timestamp + Lattice,
{ // Required method fn source( &self, scope: &mut S, context: SourcingContext<S::Timestamp>, ) -> Vec<(Aid, AttributeConfig, Stream<S, ((Value, Value), S::Timestamp, isize)>)>; }
Expand description

An external data source that can provide Datoms.

Required Methods§

Source

fn source( &self, scope: &mut S, context: SourcingContext<S::Timestamp>, ) -> Vec<(Aid, AttributeConfig, Stream<S, ((Value, Value), S::Timestamp, isize)>)>

Conjures from thin air (or from wherever the source lives) one or more timely streams feeding directly into attributes.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S: Scope<Timestamp = Duration>> Sourceable<S> for DifferentialLogging

Source§

impl<S: Scope<Timestamp = Duration>> Sourceable<S> for TimelyLogging

Source§

impl<S: Scope> Sourceable<S> for Source

Available on non-crate feature real-time only.