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
Source§fn clone(&self) -> ShellAccess
fn clone(&self) -> ShellAccess
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 ShellAccess
Source§impl Debug for ShellAccess
impl Debug for ShellAccess
Source§impl Default for ShellAccess
impl Default for ShellAccess
Source§fn default() -> ShellAccess
fn default() -> ShellAccess
Returns the “default value” for a type. Read more
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
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§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.