pub struct BranchFlushRecord {
pub flush_id: String,
pub session_id: String,
pub parent_node_id: String,
pub flushed_branch_ids: Vec<String>,
pub requeue_node_ids: Vec<String>,
pub reason: String,
pub created_at: i64,
}Expand description
PSP-5 Phase 6: Record of a branch flush decision.
Persisted so that resume and status surfaces can show why speculative work was discarded and which nodes need re-execution.
Fields§
§flush_id: StringUnique flush record ID.
session_id: StringSession this flush belongs to.
parent_node_id: StringParent node whose failure triggered the flush.
flushed_branch_ids: Vec<String>Branch IDs that were flushed.
requeue_node_ids: Vec<String>Node IDs that should be requeued after the parent stabilizes.
reason: StringHuman-readable reason for the flush.
created_at: i64Timestamp of the flush decision (epoch seconds).
Implementations§
Trait Implementations§
Source§impl Clone for BranchFlushRecord
impl Clone for BranchFlushRecord
Source§fn clone(&self) -> BranchFlushRecord
fn clone(&self) -> BranchFlushRecord
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 BranchFlushRecord
impl Debug for BranchFlushRecord
Source§impl<'de> Deserialize<'de> for BranchFlushRecord
impl<'de> Deserialize<'de> for BranchFlushRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BranchFlushRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BranchFlushRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BranchFlushRecord
impl Serialize for BranchFlushRecord
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
Auto Trait Implementations§
impl Freeze for BranchFlushRecord
impl RefUnwindSafe for BranchFlushRecord
impl Send for BranchFlushRecord
impl Sync for BranchFlushRecord
impl Unpin for BranchFlushRecord
impl UnsafeUnpin for BranchFlushRecord
impl UnwindSafe for BranchFlushRecord
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,
§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more