pub struct Controller { /* private fields */ }Expand description
Native scheduling controller for the pinned SHACL 1.2 execution contract.
Implementations§
Source§impl Controller
impl Controller
Sourcepub const fn new(limits: Limits) -> Self
pub const fn new(limits: Limits) -> Self
Construct a controller with explicit finite attempt bounds.
Sourcepub async fn run<B: RuleBackend>(
&self,
plan: &Plan<B::Rule>,
backend: &mut B,
) -> Result<Report, ExecutionError<B::Error>>
pub async fn run<B: RuleBackend>( &self, plan: &Plan<B::Rule>, backend: &mut B, ) -> Result<Report, ExecutionError<B::Error>>
Execute each layer’s run-once phase, then iterate to a fixed point. Same-order rules share one immutable snapshot and merge only afterward.
§Errors
Any backend failure, cancellation or exhausted limit invalidates the entire attempt, including all earlier staged phases. Never publish on error.
Auto Trait Implementations§
impl Forget for Controller
impl Freeze for Controller
impl Move for Controller
impl RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl UnsafeUnpin for Controllerwhere
NonZeroU64Inner: UnsafeUnpin,
impl UnwindSafe for Controller
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