pub enum RuntimeTrustLevel {
Agent,
TrustedSdk,
}Expand description
How much runtime should trust the host/runtime owner for permission gates.
Variants§
Agent
Agentic/coding-agent runtime. Permissioned actions require review.
TrustedSdk
Trusted SDK or host app runtime. The host may explicitly disable review.
Trait Implementations§
Source§impl Clone for RuntimeTrustLevel
impl Clone for RuntimeTrustLevel
impl Copy for RuntimeTrustLevel
Source§impl Debug for RuntimeTrustLevel
impl Debug for RuntimeTrustLevel
impl Eq for RuntimeTrustLevel
Source§impl PartialEq for RuntimeTrustLevel
impl PartialEq for RuntimeTrustLevel
impl StructuralPartialEq for RuntimeTrustLevel
Auto Trait Implementations§
impl Forget for RuntimeTrustLevel
impl Freeze for RuntimeTrustLevel
impl Move for RuntimeTrustLevel
impl RefUnwindSafe for RuntimeTrustLevel
impl Send for RuntimeTrustLevel
impl Sync for RuntimeTrustLevel
impl Unpin for RuntimeTrustLevel
impl UnsafeUnpin for RuntimeTrustLevel
impl UnwindSafe for RuntimeTrustLevel
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.