pub struct MergeSuiteGate<F> { /* private fields */ }Expand description
The merge-gate suite adapted to the first-class crate::gate::Gate
interface (ticket .kranz/tickets/gate-plugin-interface.md).
The adapter is a thin, behavior-preserving wrapper: evaluate delegates
to run_gate_suite, so the suite runs the same commands in the same
declared order and still stops at the first failure. The suite is a
deterministic, boolean-only gate — it reports no confidence score — and
its artefact is the failing gate’s command plus captured output, or the
tracked suite path when every gate passed. Ownership is unchanged: the
suite bytes are read from the live base branch by crate::merge, so a
mission cannot weaken or reorder the gates that judge its own diff.
Implementations§
Trait Implementations§
Source§impl<F> Gate for MergeSuiteGate<F>
impl<F> Gate for MergeSuiteGate<F>
Auto Trait Implementations§
impl<F> Freeze for MergeSuiteGate<F>where
F: Freeze,
impl<F> RefUnwindSafe for MergeSuiteGate<F>where
F: RefUnwindSafe,
impl<F> Send for MergeSuiteGate<F>where
F: Send,
impl<F> Sync for MergeSuiteGate<F>where
F: Sync,
impl<F> Unpin for MergeSuiteGate<F>where
F: Unpin,
impl<F> UnsafeUnpin for MergeSuiteGate<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for MergeSuiteGate<F>where
F: UnwindSafe,
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