Skip to content

windows_wsl2

Structs


firma_run::backend::windows_wsl2::Wsl2Backend

Section titled “firma_run::backend::windows_wsl2::Wsl2Backend”

Struct

Windows WSL2 runtime backend.

Unit Struct

Methods:

  • fn new() -> Self

Trait Implementations:

  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Default
    • fn default() -> Wsl2Backend
  • SandboxBackend
    • fn kind(self: &Self) -> BackendKind
    • fn prepare(self: &Self, request: &PrepareRequest) -> Result<SandboxHandle, RunError>
    • fn enforce_network(self: &Self, _handle: &SandboxHandle, policy: &NetworkPolicy) -> Result<EnforcementProof, RunError>
    • fn verify_fail_closed(self: &Self, _handle: &SandboxHandle, proof: &EnforcementProof) -> Result<(), RunError>
    • fn start_agent(self: &Self, _handle: &SandboxHandle, launch: &LaunchSpec) -> Result<Child, RunError>
    • fn teardown(self: &Self, handle: SandboxHandle) -> Result<(), RunError>