pub struct Plan { /* private fields */ }Expand description
Validated policy shared by all engine execution routes.
Implementations§
Source§impl Plan
impl Plan
Sourcepub fn outcome(&self, status: &TreeStatus) -> OutcomeClass
pub fn outcome(&self, status: &TreeStatus) -> OutcomeClass
Classify the answer using the caller’s partial-answer policy.
Sourcepub const fn persists(&self) -> bool
pub const fn persists(&self) -> bool
Whether this plan may write the snapshot and its content sidecar.
Each tier still writes only under its own rule (Plan::writes); this is the
authorization those rules start from, and a caller deciding whether to warn that a
run leaves nothing behind asks it here rather than of the policy, whose meaning
under Auto depends on the route and the analysis.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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