pub enum SandboxBackend {
Auto,
Seatbelt,
LandlockBwrap,
Noop,
}Expand description
Backend used to enforce OS-level sandboxing.
Serialises with kebab-case names so TOML values match the original string convention
("auto", "seatbelt", "landlock-bwrap", "noop").
Variants§
Auto
Automatically select the best available backend for the current OS.
Seatbelt
macOS sandbox-exec (Seatbelt) profile.
LandlockBwrap
Linux Landlock + bubblewrap combination.
Noop
Disable sandboxing (testing / unsupported platforms).
Trait Implementations§
Source§impl Clone for SandboxBackend
impl Clone for SandboxBackend
Source§fn clone(&self) -> SandboxBackend
fn clone(&self) -> SandboxBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SandboxBackend
impl Debug for SandboxBackend
Source§impl Default for SandboxBackend
impl Default for SandboxBackend
Source§fn default() -> SandboxBackend
fn default() -> SandboxBackend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SandboxBackend
impl<'de> Deserialize<'de> for SandboxBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SandboxBackend
impl PartialEq for SandboxBackend
Source§fn eq(&self, other: &SandboxBackend) -> bool
fn eq(&self, other: &SandboxBackend) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SandboxBackend
impl Serialize for SandboxBackend
impl Eq for SandboxBackend
impl StructuralPartialEq for SandboxBackend
Auto Trait Implementations§
impl Freeze for SandboxBackend
impl RefUnwindSafe for SandboxBackend
impl Send for SandboxBackend
impl Sync for SandboxBackend
impl Unpin for SandboxBackend
impl UnsafeUnpin for SandboxBackend
impl UnwindSafe for SandboxBackend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.