pub enum TaskCreateVerdict {
Unguarded,
NeedsYes,
Refused,
}Expand description
The planner-locked create ladder’s verdict (07-02 Task 3) — a
PURE function over (task_type, schedule_mode) so main.rs
(pre-resolution, zero network) and the TUI (Confirm gating) and
the action (authoritative re-check) all classify IDENTICALLY.
| verdict | meaning |
|---|---|
Unguarded | eam_backup + OnDemand — fires only when forced, never mutates targets autonomously |
NeedsYes | mutating types (restart/send*/licenses) OR any non-OnDemand schedule (arms autonomous actions) |
Refused | eam_restoreBackup/eam_installModules/eam_remoteUpgrade — fleet-destructive, EXT-03 (v2) scope |
Variants§
Unguarded
No --yes needed (OnDemand backup).
NeedsYes
require_confirmation must fire.
Refused
Outright refusal (EamTaskTypeRefused).
Trait Implementations§
Source§impl Clone for TaskCreateVerdict
impl Clone for TaskCreateVerdict
Source§fn clone(&self) -> TaskCreateVerdict
fn clone(&self) -> TaskCreateVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TaskCreateVerdict
Source§impl Debug for TaskCreateVerdict
impl Debug for TaskCreateVerdict
impl Eq for TaskCreateVerdict
Source§impl PartialEq for TaskCreateVerdict
impl PartialEq for TaskCreateVerdict
impl StructuralPartialEq for TaskCreateVerdict
Auto Trait Implementations§
impl Freeze for TaskCreateVerdict
impl RefUnwindSafe for TaskCreateVerdict
impl Send for TaskCreateVerdict
impl Sync for TaskCreateVerdict
impl Unpin for TaskCreateVerdict
impl UnsafeUnpin for TaskCreateVerdict
impl UnwindSafe for TaskCreateVerdict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.