Skip to main content

test_network_blocked

Function test_network_blocked 

Source
pub async fn test_network_blocked(
    policy: &SandboxPolicy,
    cwd: &Path,
    sandbox_executable: Option<&Path>,
) -> Result<bool>
Expand description

Test if network access is blocked under the given sandbox policy.