pub struct ShellExec;Expand description
Capability that executes shell commands with safety guards.
Commands are run in the executor’s process group with a configurable
timeout. A blocklist rejects destructive commands (e.g. rm -rf /,
dd if=/dev/zero of=/dev/sda). All executions are logged to the WAL.
Trait Implementations§
Source§impl Capability for ShellExec
impl Capability for ShellExec
Auto Trait Implementations§
impl Freeze for ShellExec
impl RefUnwindSafe for ShellExec
impl Send for ShellExec
impl Sync for ShellExec
impl Unpin for ShellExec
impl UnsafeUnpin for ShellExec
impl UnwindSafe for ShellExec
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