pub enum Mutation {
Add(AddMutation),
Stop(StopMutation),
Update(UpdateMutation),
Splits(SourceChangeSplitMutation),
Pause(PauseMutation),
Resume(ResumeMutation),
Throttle(ThrottleMutation),
DropSubscriptions(DropSubscriptionsMutation),
Combined(CombinedMutation),
}
Variants§
Add(AddMutation)
Add new dispatchers to some actors, used for creating materialized views.
Stop(StopMutation)
Stop a set of actors, used for dropping materialized views. Empty dispatchers will be automatically removed.
Update(UpdateMutation)
Update outputs and hash mappings for some dispatchers, used for scaling.
Splits(SourceChangeSplitMutation)
Change the split of some sources.
Pause(PauseMutation)
Pause the dataflow of the whole streaming graph, only used for scaling.
Resume(ResumeMutation)
Resume the dataflow of the whole streaming graph, only used for scaling.
Throttle(ThrottleMutation)
Throttle specific source exec or chain exec.
DropSubscriptions(DropSubscriptionsMutation)
Drop subscription on mv
Combined(CombinedMutation)
Combined mutation.
Implementations§
source§impl Mutation
impl Mutation
sourcepub fn merge(
field: &mut Option<Mutation>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Mutation>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
impl StructuralPartialEq for Mutation
Auto Trait Implementations§
impl Freeze for Mutation
impl RefUnwindSafe for Mutation
impl Send for Mutation
impl Sync for Mutation
impl Unpin for Mutation
impl UnwindSafe for Mutation
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request