pub enum PermissionReviewMode {
DefaultForTrust,
Required,
HostDecisionOnly,
ModelThenHostFallback,
FullyTrusted,
DenyAll,
}Expand description
Review mode for explicit permission requests.
Variants§
DefaultForTrust
Runtime chooses the conservative default for the trust level.
Required
Always route permission requests through a review source.
HostDecisionOnly
Allow an injected non-model admission source to decide without model review.
ModelThenHostFallback
Try AI review first, then wait on an injected host source when the AI review denies the request or cannot produce a decision.
FullyTrusted
Explicit SDK/host mode that admits configured registered tools without an AI or human approval round.
DenyAll
Deny every permission request and action review without consulting a reviewer. Actions that need no approval still run.
Trait Implementations§
Source§impl Clone for PermissionReviewMode
impl Clone for PermissionReviewMode
impl Copy for PermissionReviewMode
Source§impl Debug for PermissionReviewMode
impl Debug for PermissionReviewMode
impl Eq for PermissionReviewMode
Source§impl PartialEq for PermissionReviewMode
impl PartialEq for PermissionReviewMode
impl StructuralPartialEq for PermissionReviewMode
Auto Trait Implementations§
impl Forget for PermissionReviewMode
impl Freeze for PermissionReviewMode
impl Move for PermissionReviewMode
impl RefUnwindSafe for PermissionReviewMode
impl Send for PermissionReviewMode
impl Sync for PermissionReviewMode
impl Unpin for PermissionReviewMode
impl UnsafeUnpin for PermissionReviewMode
impl UnwindSafe for PermissionReviewMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.