pub struct CompiledGraph<S>where
S: GraphStateTrait,{ /* private fields */ }Expand description
已编译完成、可执行的状态图。
Implementations§
Source§impl<S> CompiledGraph<S>where
S: GraphStateTrait,
impl<S> CompiledGraph<S>where
S: GraphStateTrait,
Sourcepub fn with_checkpointer<C>(self, checkpointer: C) -> Selfwhere
C: Checkpointer<S> + 'static,
pub fn with_checkpointer<C>(self, checkpointer: C) -> Selfwhere
C: Checkpointer<S> + 'static,
挂载一个检查点存储实现。图的执行并不强依赖检查点存在。
Auto Trait Implementations§
impl<S> Freeze for CompiledGraph<S>
impl<S> !RefUnwindSafe for CompiledGraph<S>
impl<S> Send for CompiledGraph<S>
impl<S> Sync for CompiledGraph<S>
impl<S> Unpin for CompiledGraph<S>
impl<S> UnsafeUnpin for CompiledGraph<S>
impl<S> !UnwindSafe for CompiledGraph<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