pub struct SandboxedExecutor { /* private fields */ }Expand description
Data structure representing sandboxed executor.
Implementations§
Source§impl SandboxedExecutor
impl SandboxedExecutor
Sourcepub fn new(allowed: impl IntoIterator<Item = String>) -> Self
pub fn new(allowed: impl IntoIterator<Item = String>) -> Self
Creates a new value of this type.
Trait Implementations§
Auto Trait Implementations§
impl Forget for SandboxedExecutor
impl Freeze for SandboxedExecutor
impl Move for SandboxedExecutor
impl RefUnwindSafe for SandboxedExecutor
impl Send for SandboxedExecutor
impl Sync for SandboxedExecutor
impl Unpin for SandboxedExecutor
impl UnsafeUnpin for SandboxedExecutorwhere
PhantomData<fn() -> AHasher>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, ())>: UnsafeUnpin,
impl UnwindSafe for SandboxedExecutor
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