pub struct DockerSandboxExecutor {
pub image: String,
pub binary: String,
pub allow_command_execution: bool,
pub allow_shell: bool,
pub shell: String,
pub memory: String,
pub cpus: String,
}Fields§
§image: String§binary: String§allow_command_execution: bool§allow_shell: bool§shell: String§memory: String§cpus: StringImplementations§
Trait Implementations§
Source§impl SandboxExecutor for DockerSandboxExecutor
impl SandboxExecutor for DockerSandboxExecutor
fn run_tool(&self, args: State, policy: &SandboxPolicy) -> SandboxResult
Auto Trait Implementations§
impl Freeze for DockerSandboxExecutor
impl RefUnwindSafe for DockerSandboxExecutor
impl Send for DockerSandboxExecutor
impl Sync for DockerSandboxExecutor
impl Unpin for DockerSandboxExecutor
impl UnsafeUnpin for DockerSandboxExecutor
impl UnwindSafe for DockerSandboxExecutor
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