pub enum Access {
Open,
Confirm,
Local,
}Expand description
Who may run an action through external control (agents, scripts over IPC / MCP).
Variants§
Open
External calls run after the usual checks.
Confirm
The host asks the user before an external call runs (Host::confirm).
Local
Only trusted in-process GUI calls; external calls fail with forbidden.
Implementations§
Trait Implementations§
impl Copy for Access
impl Eq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl Forget for Access
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnsafeUnpin for Access
impl UnwindSafe for Access
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