pub struct DreamCheckpoint {
pub dream_id: String,
pub started_at: DateTime<Utc>,
pub completed_phase: u8,
pub cached_signals: Option<Vec<MemorySignal>>,
pub cached_plan: Option<ConsolidationPlan>,
}Expand description
Dream execution state (checkpoint for crash recovery).
Fields§
§dream_id: StringUnique dream ID.
started_at: DateTime<Utc>When the dream started.
completed_phase: u8Last completed phase (0 = not started).
cached_signals: Option<Vec<MemorySignal>>Cached signals from Phase 2.
cached_plan: Option<ConsolidationPlan>Cached plan from Phase 3.
Implementations§
Trait Implementations§
Source§impl Clone for DreamCheckpoint
impl Clone for DreamCheckpoint
Source§fn clone(&self) -> DreamCheckpoint
fn clone(&self) -> DreamCheckpoint
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 DreamCheckpoint
impl Debug for DreamCheckpoint
Source§impl<'de> Deserialize<'de> for DreamCheckpoint
impl<'de> Deserialize<'de> for DreamCheckpoint
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 DreamCheckpoint
impl RefUnwindSafe for DreamCheckpoint
impl Send for DreamCheckpoint
impl Sync for DreamCheckpoint
impl Unpin for DreamCheckpoint
impl UnsafeUnpin for DreamCheckpoint
impl UnwindSafe for DreamCheckpoint
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