pub enum ShellAccess {
Denied,
Granted,
}Expand description
Whether the agent may run commands.
Variants§
Denied
No command execution.
For a run that inspects a workspace and reports on it. Worth being
precise about what this is: one route closed, not a boundary. The file
tools still write, and the process still runs as its user — see
DenyAll for a run that changes nothing at all.
Granted
Commands allowed.
The default. A command reaches whatever the user account running basis can reach, which is the honest description of a process on a host and is why basis neither warns about it per run nor pretends otherwise.
Implementations§
Source§impl ShellAccess
impl ShellAccess
Trait Implementations§
Source§impl Clone for ShellAccess
impl Clone for ShellAccess
impl Copy for ShellAccess
Source§impl Debug for ShellAccess
impl Debug for ShellAccess
Source§impl Default for ShellAccess
impl Default for ShellAccess
impl Eq for ShellAccess
Source§impl PartialEq for ShellAccess
impl PartialEq for ShellAccess
impl StructuralPartialEq for ShellAccess
Auto Trait Implementations§
impl Freeze for ShellAccess
impl RefUnwindSafe for ShellAccess
impl Send for ShellAccess
impl Sync for ShellAccess
impl Unpin for ShellAccess
impl UnsafeUnpin for ShellAccess
impl UnwindSafe for ShellAccess
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