pub struct CompileBuilder<'a> { /* private fields */ }Expand description
Builder for configuring compile() options.
Implementations§
Source§impl<'a> CompileBuilder<'a>
impl<'a> CompileBuilder<'a>
pub fn checkpointer(self, cp: Arc<dyn BaseCheckpointSaver>) -> Self
pub fn cache(self, cache: Arc<dyn BaseCache>) -> Self
pub fn store(self, store: Arc<dyn BaseStore>) -> Self
pub fn interrupt_before(self, nodes: Vec<String>) -> Self
pub fn interrupt_after(self, nodes: Vec<String>) -> Self
pub fn debug(self, debug: bool) -> Self
pub fn name(self, name: impl Into<String>) -> Self
pub fn recursion_limit(self, limit: u64) -> Self
pub fn build(self) -> Result<CompiledStateGraph, GraphError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CompileBuilder<'a>
impl<'a> !UnwindSafe for CompileBuilder<'a>
impl<'a> Freeze for CompileBuilder<'a>
impl<'a> Send for CompileBuilder<'a>
impl<'a> Sync for CompileBuilder<'a>
impl<'a> Unpin for CompileBuilder<'a>
impl<'a> UnsafeUnpin for CompileBuilder<'a>
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