pub struct ContinuationEffectState {
pub phase: ContinuationEffectPhase,
pub outcome: ContinuationEffectOutcome,
}Expand description
Typed host-visible projection for a continuation whose effect outcome cannot be proven.
Fields§
§phase: ContinuationEffectPhaseLast durable effect boundary crossed by the continuation.
outcome: ContinuationEffectOutcomeOutcome classification exposed for recovery decisions.
Implementations§
Source§impl ContinuationEffectState
impl ContinuationEffectState
Sourcepub const fn indeterminate() -> Self
pub const fn indeterminate() -> Self
Build the fail-closed projection for a started continuation interrupted by host loss.
Trait Implementations§
Source§impl Clone for ContinuationEffectState
impl Clone for ContinuationEffectState
Source§fn clone(&self) -> ContinuationEffectState
fn clone(&self) -> ContinuationEffectState
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 ContinuationEffectState
impl Debug for ContinuationEffectState
Source§impl<'de> Deserialize<'de> for ContinuationEffectState
impl<'de> Deserialize<'de> for ContinuationEffectState
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
impl Eq for ContinuationEffectState
Source§impl PartialEq for ContinuationEffectState
impl PartialEq for ContinuationEffectState
Source§impl Serialize for ContinuationEffectState
impl Serialize for ContinuationEffectState
impl StructuralPartialEq for ContinuationEffectState
Auto Trait Implementations§
impl Freeze for ContinuationEffectState
impl RefUnwindSafe for ContinuationEffectState
impl Send for ContinuationEffectState
impl Sync for ContinuationEffectState
impl Unpin for ContinuationEffectState
impl UnsafeUnpin for ContinuationEffectState
impl UnwindSafe for ContinuationEffectState
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