Struct rusty_nodejs_repl::Repl
source · pub struct Repl {
pub dir: TempDir,
pub stdin: ChildStdin,
pub stdout: Bytes<ChildStdout>,
pub child: Child,
pub eof: Vec<u8>,
}Expand description
Interface to the Node.js REPL. Send code with Repl::repl, stop it with Repl::stop.
Fields§
§dir: TempDirNeeds to be held until the working directory should be dropped
stdin: ChildStdin§stdout: Bytes<ChildStdout>§child: Child§eof: Vec<u8>Implementations§
Auto Trait Implementations§
impl Freeze for Repl
impl !RefUnwindSafe for Repl
impl Send for Repl
impl Sync for Repl
impl Unpin for Repl
impl !UnwindSafe for Repl
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