pub enum ChildApprovalOutcome {
Delegated,
AutoApproved,
AutoDenied,
}Expand description
What the executor should do after delegating a child’s approval upward.
Variants§
Delegated
Registered on the parent; the child must SUSPEND and await the decision.
AutoApproved
Parent policy auto-approved (bypass / existing grant); proceed to execute.
AutoDenied
Parent policy auto-denied; the executor must deny the tool.
Trait Implementations§
Source§impl Clone for ChildApprovalOutcome
impl Clone for ChildApprovalOutcome
Source§fn clone(&self) -> ChildApprovalOutcome
fn clone(&self) -> ChildApprovalOutcome
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 ChildApprovalOutcome
Source§impl Debug for ChildApprovalOutcome
impl Debug for ChildApprovalOutcome
impl Eq for ChildApprovalOutcome
Source§impl PartialEq for ChildApprovalOutcome
impl PartialEq for ChildApprovalOutcome
Source§fn eq(&self, other: &ChildApprovalOutcome) -> bool
fn eq(&self, other: &ChildApprovalOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChildApprovalOutcome
Auto Trait Implementations§
impl Freeze for ChildApprovalOutcome
impl RefUnwindSafe for ChildApprovalOutcome
impl Send for ChildApprovalOutcome
impl Sync for ChildApprovalOutcome
impl Unpin for ChildApprovalOutcome
impl UnsafeUnpin for ChildApprovalOutcome
impl UnwindSafe for ChildApprovalOutcome
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.