Struct mz_dataflow::EventLinkBoundary
source · [−]pub struct EventLinkBoundary {
shared: BTreeMap<(Uuid, GlobalId), SourceBoundary>,
requests: UnboundedSender<SourceInstanceRequest<u64>>,
}
Expand description
A simple boundary that uses activated event linked lists.
Fields
Source boundaries shared between storage and compute.
requests: UnboundedSender<SourceInstanceRequest<u64>>
Enqueue source rendering requests.
Implementations
sourceimpl EventLinkBoundary
impl EventLinkBoundary
sourcepub fn new(
requests: UnboundedSender<SourceInstanceRequest<u64>>
) -> EventLinkBoundary
pub fn new(
requests: UnboundedSender<SourceInstanceRequest<u64>>
) -> EventLinkBoundary
Create a new boundary, initializing the state to be empty.
Trait Implementations
sourceimpl ComputeReplay for EventLinkBoundary
impl ComputeReplay for EventLinkBoundary
sourcefn replay<G>(
&mut self,
scope: &mut G,
name: &str,
request: SourceInstanceRequest<u64>
) -> (Collection<G, Row, i64>, Collection<G, DataflowError, i64>, Rc<dyn Any + 'static>) where
G: Scope<Timestamp = u64>,
fn replay<G>(
&mut self,
scope: &mut G,
name: &str,
request: SourceInstanceRequest<u64>
) -> (Collection<G, Row, i64>, Collection<G, DataflowError, i64>, Rc<dyn Any + 'static>) where
G: Scope<Timestamp = u64>,
Replays the source bound to id
. Read more
sourceimpl StorageCapture for EventLinkBoundary
impl StorageCapture for EventLinkBoundary
sourcefn capture<G>(
&mut self,
id: GlobalId,
ok: Collection<G, Row, i64>,
err: Collection<G, DataflowError, i64>,
token: Rc<dyn Any + 'static>,
name: &str,
dataflow_id: Uuid
) where
G: Scope<Timestamp = u64>,
fn capture<G>(
&mut self,
id: GlobalId,
ok: Collection<G, Row, i64>,
err: Collection<G, DataflowError, i64>,
token: Rc<dyn Any + 'static>,
name: &str,
dataflow_id: Uuid
) where
G: Scope<Timestamp = u64>,
Captures the source and binds to id
.
Auto Trait Implementations
impl !RefUnwindSafe for EventLinkBoundary
impl !Send for EventLinkBoundary
impl !Sync for EventLinkBoundary
impl Unpin for EventLinkBoundary
impl !UnwindSafe for EventLinkBoundary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more