Struct coord::coord::arrangement_state::Frontiers[][src]

pub struct Frontiers<T: Timestamp> {
    pub upper: MutableAntichain<T>,
    pub since: Rc<RefCell<MutableAntichain<T>>>,
    since_action: Rc<RefCell<dyn FnMut(Antichain<T>)>>,
    pub compaction_window_ms: Option<T>,
}

Fields

upper: MutableAntichain<T>

The most recent frontier for new data. All further changes will be in advance of this bound.

since: Rc<RefCell<MutableAntichain<T>>>

The compaction frontier. All peeks in advance of this frontier will be correct, but peeks not in advance of this frontier may not be.

since_action: Rc<RefCell<dyn FnMut(Antichain<T>)>>

The function to run on since changes. Passes the new since frontier.

compaction_window_ms: Option<T>

Compaction delay.

This timestamp drives the advancement of the since frontier as a function of the upper frontier, trailing it by exactly this much.

Implementations

Creates an empty index state from a function to run when the since changes. Returns the initial since handle.

Returns a wrapped MutableAntichain that propogates changes to since.

Sets the latency behind the collection frontier at which compaction occurs.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more