Skip to main content

resolve_layer

Function resolve_layer 

Source
pub fn resolve_layer(caps: &Capabilities) -> SandboxLayer
Expand description

Pick the strongest enforcement layer the host supports for these capabilities. Always returns at least SandboxLayer::Lightweight.