pub struct FrameStack<S: WorkflowState = State>where
S::Checkpoint: Debug,{ /* private fields */ }Expand description
帧栈 — 保存完整的执行位置历史。
可序列化 — 用于 SessionCheckpoint 持久化。
Implementations§
Source§impl<S: WorkflowState> FrameStack<S>where
S::Checkpoint: Debug,
impl<S: WorkflowState> FrameStack<S>where
S::Checkpoint: Debug,
Trait Implementations§
Source§impl<S: Clone + WorkflowState> Clone for FrameStack<S>where
S::Checkpoint: Debug,
impl<S: Clone + WorkflowState> Clone for FrameStack<S>where
S::Checkpoint: Debug,
Source§fn clone(&self) -> FrameStack<S>
fn clone(&self) -> FrameStack<S>
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<S: WorkflowState> Debug for FrameStack<S>where
S::Checkpoint: Debug,
impl<S: WorkflowState> Debug for FrameStack<S>where
S::Checkpoint: Debug,
Source§impl<S: WorkflowState> Default for FrameStack<S>where
S::Checkpoint: Debug,
impl<S: WorkflowState> Default for FrameStack<S>where
S::Checkpoint: Debug,
Source§impl<'de, S> Deserialize<'de> for FrameStack<S>
impl<'de, S> Deserialize<'de> for FrameStack<S>
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
Source§impl<S> Serialize for FrameStack<S>
impl<S> Serialize for FrameStack<S>
Auto Trait Implementations§
impl<S> Freeze for FrameStack<S>
impl<S> RefUnwindSafe for FrameStack<S>
impl<S> Send for FrameStack<S>
impl<S> Sync for FrameStack<S>
impl<S> Unpin for FrameStack<S>
impl<S> UnsafeUnpin for FrameStack<S>
impl<S> UnwindSafe for FrameStack<S>
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