#[non_exhaustive]pub struct Sandbox { /* private fields */ }
Expand description
Internal representation of a Sandbox
A Sandbox
is a throwable Cargo project made to evaluate arbitrary Rust
expression.
Implementations§
source§impl Sandbox
impl Sandbox
sourcepub fn new(uuid: &str) -> Result<Self>
pub fn new(uuid: &str) -> Result<Self>
Create a Sandbox
in $OUT_DIR
folder
$OUT_DIR
is set by Cargo when build.rs
is present :)
Auto Trait Implementations§
impl RefUnwindSafe for Sandbox
impl Send for Sandbox
impl Sync for Sandbox
impl Unpin for Sandbox
impl UnwindSafe for Sandbox
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