pub enum TopologyInitialization {
PreserveExactCut,
FutureOnlyAtCut,
EmptyManagedStateAtCut,
ResolveSourcePositionsOnce,
RetireAtCut,
SeedFromUpstreamAtCut,
}Expand description
Required initialization semantics. These are requirements, never concrete cut positions.
Variants§
PreserveExactCut
Retain the exact reconciled cut’s state, timers, watermarks and source/output progress.
FutureOnlyAtCut
Process only target-generation input after the cut, without historical replay or backfill.
EmptyManagedStateAtCut
Initialize new managed state empty at the exact cut; consume only subsequent input. This never authorizes resetting a preserved operator or a target checkpoint image.
ResolveSourcePositionsOnce
Resolve concrete latest source/partition positions once at the cut and persist before commit.
RetireAtCut
Settle old-generation state/progress/effects at the cut and omit the object from the target.
SeedFromUpstreamAtCut
Initialize a new materialized view’s managed state empty at the exact cut, then apply the rows its preserved upstream changelog holds at the cut before any subsequent input.
Implementations§
Source§impl TopologyInitialization
impl TopologyInitialization
Sourcepub const fn starts_empty_at_cut(self) -> bool
pub const fn starts_empty_at_cut(self) -> bool
Whether the object’s managed state starts empty at the cut.
Trait Implementations§
Source§impl Clone for TopologyInitialization
impl Clone for TopologyInitialization
impl Copy for TopologyInitialization
Source§impl Debug for TopologyInitialization
impl Debug for TopologyInitialization
Source§impl<'de> Deserialize<'de> for TopologyInitialization
impl<'de> Deserialize<'de> for TopologyInitialization
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for TopologyInitialization
Source§impl PartialEq for TopologyInitialization
impl PartialEq for TopologyInitialization
Source§impl Serialize for TopologyInitialization
impl Serialize for TopologyInitialization
impl StructuralPartialEq for TopologyInitialization
Auto Trait Implementations§
impl Freeze for TopologyInitialization
impl RefUnwindSafe for TopologyInitialization
impl Send for TopologyInitialization
impl Sync for TopologyInitialization
impl Unpin for TopologyInitialization
impl UnsafeUnpin for TopologyInitialization
impl UnwindSafe for TopologyInitialization
Blanket Implementations§
impl<T> Allocation for T
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].