pub struct ContinuationInput {
pub header: InputHeader,
pub reason: String,
pub handling_mode: HandlingMode,
pub request_id: Option<String>,
}Expand description
Explicit continuation request that asks the runtime to keep draining ordinary work after a boundary-local event (for example, terminal peer responses injected into session state).
Fields§
§header: InputHeader§reason: StringStable reason for the continuation request.
handling_mode: HandlingModeOrdinary-work handling mode for the continuation.
request_id: Option<String>Optional request/correlation handle tied to the continuation.
Implementations§
Source§impl ContinuationInput
impl ContinuationInput
Sourcepub fn detached_background_op_completed() -> Self
pub fn detached_background_op_completed() -> Self
Build a continuation for waking an idle session after a detached background operation reaches terminal state.
Properties: Derived durability, invisible to transcript and operator,
System origin, Steer handling mode.
Trait Implementations§
Source§impl Clone for ContinuationInput
impl Clone for ContinuationInput
Source§fn clone(&self) -> ContinuationInput
fn clone(&self) -> ContinuationInput
Returns a duplicate of the value. Read more
1.0.0 · 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 ContinuationInput
impl Debug for ContinuationInput
Source§impl<'de> Deserialize<'de> for ContinuationInput
impl<'de> Deserialize<'de> for ContinuationInput
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContinuationInput
impl RefUnwindSafe for ContinuationInput
impl Send for ContinuationInput
impl Sync for ContinuationInput
impl Unpin for ContinuationInput
impl UnsafeUnpin for ContinuationInput
impl UnwindSafe for ContinuationInput
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