Skip to content

linux_bwrap

Structs


firma_run::backend::linux_bwrap::BwrapBackend

Section titled “firma_run::backend::linux_bwrap::BwrapBackend”

Struct

Linux bubblewrap backend.

Unit Struct

Methods:

  • fn new() -> Self

Trait Implementations:

  • Default
    • fn default() -> BwrapBackend
  • 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>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result