pub struct NoopContext;Expand description
No-op context for browser (WASM) execution. All system-access methods return errors — browser has no shell.
Trait Implementations§
Source§impl ProcessContext for NoopContext
impl ProcessContext for NoopContext
Source§fn run_command(&self, _cmd: &str, _args: &[&str]) -> Result<Vec<u8>, BntoError>
fn run_command(&self, _cmd: &str, _args: &[&str]) -> Result<Vec<u8>, BntoError>
Run an external command, capturing stdout.
Auto Trait Implementations§
impl Freeze for NoopContext
impl RefUnwindSafe for NoopContext
impl Send for NoopContext
impl Sync for NoopContext
impl Unpin for NoopContext
impl UnsafeUnpin for NoopContext
impl UnwindSafe for NoopContext
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