pub struct CompileConfig {
pub max_iterations: Option<usize>,
pub validate: bool,
pub debug: bool,
}Expand description
Configuration for graph compilation.
Fields§
§max_iterations: Option<usize>Maximum iterations before timeout.
validate: boolWhether to validate the graph structure.
debug: boolEnable debug mode with extra tracing.
Implementations§
Source§impl CompileConfig
impl CompileConfig
Sourcepub fn with_max_iterations(self, max: usize) -> Self
pub fn with_max_iterations(self, max: usize) -> Self
Set maximum iterations.
Sourcepub fn without_validation(self) -> Self
pub fn without_validation(self) -> Self
Disable validation.
Sourcepub fn with_debug(self) -> Self
pub fn with_debug(self) -> Self
Enable debug mode.
Trait Implementations§
Source§impl Clone for CompileConfig
impl Clone for CompileConfig
Source§impl Debug for CompileConfig
impl Debug for CompileConfig
Auto Trait Implementations§
impl Freeze for CompileConfig
impl RefUnwindSafe for CompileConfig
impl Send for CompileConfig
impl Sync for CompileConfig
impl Unpin for CompileConfig
impl UnsafeUnpin for CompileConfig
impl UnwindSafe for CompileConfig
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