pub trait SandboxLauncher: Send + Sync {
// Required methods
fn id(&self) -> &str;
fn launch(
&self,
request: &SandboxRequest,
cancellation: &ProcessCancellation,
) -> SandboxAttempt;
}Expand description
Replaceable object-safe untrusted-process authority boundary.
Required Methods§
Sourcefn launch(
&self,
request: &SandboxRequest,
cancellation: &ProcessCancellation,
) -> SandboxAttempt
fn launch( &self, request: &SandboxRequest, cancellation: &ProcessCancellation, ) -> SandboxAttempt
Attempts the request and reports a complete, refusal, stop, or unknown outcome.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".