pub struct ShellRunner;Expand description
Default SandboxRunner: runs the extracted snippet verbatim via
/bin/sh -c. Intended for smoke tests and shell-style snippets.
Most real deployments will want to plug a custom runner in (e.g. scaffold
a Rust crate and cargo run), but the shell runner keeps the evaluator
useful out of the box and — crucially — self-contained for tests (no
compilers, no cc).
Trait Implementations§
Source§impl Clone for ShellRunner
impl Clone for ShellRunner
Source§fn clone(&self) -> ShellRunner
fn clone(&self) -> ShellRunner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellRunner
impl Debug for ShellRunner
Source§impl Default for ShellRunner
impl Default for ShellRunner
Source§fn default() -> ShellRunner
fn default() -> ShellRunner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShellRunner
impl RefUnwindSafe for ShellRunner
impl Send for ShellRunner
impl Sync for ShellRunner
impl Unpin for ShellRunner
impl UnsafeUnpin for ShellRunner
impl UnwindSafe for ShellRunner
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