pub enum ReconcileResult {
Completed {
outcome: Box<ActionOutcome>,
},
NeverDispatched,
StartedNoTerminal,
LogUnavailable {
reason: String,
},
}Expand description
Fate of a hanging action intent after a crash (spine §4.2/§6.7-B).
Variants§
Completed
A terminal event for the callId is on record: adopt it. The archived
terminal is the full four-way ActionOutcome — a recorded
failed/cancelled/timedOut is a certain fate and comes back
verbatim, never demoted to an uncertain branch.
Fields
§
outcome: Box<ActionOutcome>The recorded terminal outcome (boxed: much larger than the other variants).
NeverDispatched
The issuing session’s full event range shows no trace: safe replay.
StartedNoTerminal
A start without a terminal (theoretically shielded against); treated as the uncertain branch.
The issuing session’s log is unreachable: the uncertain branch.
Trait Implementations§
Source§impl Clone for ReconcileResult
impl Clone for ReconcileResult
Source§fn clone(&self) -> ReconcileResult
fn clone(&self) -> ReconcileResult
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 ReconcileResult
impl Debug for ReconcileResult
Source§impl<'de> Deserialize<'de> for ReconcileResult
impl<'de> Deserialize<'de> for ReconcileResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReconcileResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReconcileResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ReconcileResult
impl JsonSchema for ReconcileResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ReconcileResult
impl PartialEq for ReconcileResult
Source§impl Serialize for ReconcileResult
impl Serialize for ReconcileResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ReconcileResult
Auto Trait Implementations§
impl Freeze for ReconcileResult
impl RefUnwindSafe for ReconcileResult
impl Send for ReconcileResult
impl Sync for ReconcileResult
impl Unpin for ReconcileResult
impl UnsafeUnpin for ReconcileResult
impl UnwindSafe for ReconcileResult
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