pub struct Sandbox {
pub sandbox_type: SandboxType,
pub config: SandboxConfig,
}Fields§
§sandbox_type: SandboxType§config: SandboxConfigImplementations§
Source§impl Sandbox
impl Sandbox
pub const fn new(sandbox_type: SandboxType, config: SandboxConfig) -> Self
pub const fn configure() -> SandboxConfig
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Sandbox
impl !Send for Sandbox
impl !Sync for Sandbox
impl !UnwindSafe for Sandbox
impl Freeze for Sandbox
impl Unpin for Sandbox
impl UnsafeUnpin 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