Enum ashpd::flatpak::SpawnFlags [−][src]
#[repr(u32)] pub enum SpawnFlags { ClearEnv, Latest, Sandbox, NoNetwork, Kill, Expose, Emit, }
Expand description
Flags affecting the created sandbox.
Variants
Clear the environment.
Spawn the latest version of the app.
Spawn in a sandbox (equivalent of the sandbox option of flatpak run
).
Spawn without network (equivalent of the unshare=network
option of
flatpak run
).
Kill the sandbox when the caller disappears from the session bus.
Expose the sandbox pids in the callers sandbox, only supported if using user namespaces for containers (not setuid), see the support property.
Emit a SpawnStarted signal once the sandboxed process has been fully started.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Return a slice that contains each variant exactly one.
Return the name of the type for debug formatting purposes. Read more
Auto Trait Implementations
impl RefUnwindSafe for SpawnFlags
impl Send for SpawnFlags
impl Sync for SpawnFlags
impl Unpin for SpawnFlags
impl UnwindSafe for SpawnFlags
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V