pub enum HistoryPropagationScope {
OwnHistory,
Lineage,
}Expand description
Controls how history flows from a calling workflow into a scheduled activity or child workflow.
Mirrors the proto HistoryPropagationScope enum without exposing the raw
i32 discriminants. The default None scope is intentionally not part of
the public surface — callers either pass an explicit scope or omit the
option entirely (which is equivalent to “no propagation”).
Variants§
OwnHistory
Forward only the caller’s own history events. Ancestral history (anything the caller itself received from its parent) is dropped at this trust boundary.
Lineage
Forward the caller’s own history events and the full ancestor chain. Any propagated history the caller received is forwarded as additional chunks alongside the caller’s own.
Trait Implementations§
Source§impl Clone for HistoryPropagationScope
impl Clone for HistoryPropagationScope
Source§fn clone(&self) -> HistoryPropagationScope
fn clone(&self) -> HistoryPropagationScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HistoryPropagationScope
impl Debug for HistoryPropagationScope
Source§impl From<HistoryPropagationScope> for HistoryPropagationScope
impl From<HistoryPropagationScope> for HistoryPropagationScope
Source§fn from(scope: HistoryPropagationScope) -> Self
fn from(scope: HistoryPropagationScope) -> Self
Converts to this type from the input type.
Source§impl Hash for HistoryPropagationScope
impl Hash for HistoryPropagationScope
Source§impl PartialEq for HistoryPropagationScope
impl PartialEq for HistoryPropagationScope
Source§fn eq(&self, other: &HistoryPropagationScope) -> bool
fn eq(&self, other: &HistoryPropagationScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HistoryPropagationScope
impl Eq for HistoryPropagationScope
impl StructuralPartialEq for HistoryPropagationScope
Auto Trait Implementations§
impl Freeze for HistoryPropagationScope
impl RefUnwindSafe for HistoryPropagationScope
impl Send for HistoryPropagationScope
impl Sync for HistoryPropagationScope
impl Unpin for HistoryPropagationScope
impl UnsafeUnpin for HistoryPropagationScope
impl UnwindSafe for HistoryPropagationScope
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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