pub enum SandboxLayer {
None,
Lightweight,
MacosSandboxExec,
LinuxLandlock,
}Expand description
Strategy used to enforce a Capabilities declaration on the host.
Variants§
Trait Implementations§
Source§impl Clone for SandboxLayer
impl Clone for SandboxLayer
Source§fn clone(&self) -> SandboxLayer
fn clone(&self) -> SandboxLayer
Returns a duplicate of the value. Read more
1.0.0 · 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 SandboxLayer
impl Debug for SandboxLayer
Source§impl<'de> Deserialize<'de> for SandboxLayer
impl<'de> Deserialize<'de> for SandboxLayer
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 SandboxLayer
impl PartialEq for SandboxLayer
Source§impl Serialize for SandboxLayer
impl Serialize for SandboxLayer
impl Copy for SandboxLayer
impl Eq for SandboxLayer
impl StructuralPartialEq for SandboxLayer
Auto Trait Implementations§
impl Freeze for SandboxLayer
impl RefUnwindSafe for SandboxLayer
impl Send for SandboxLayer
impl Sync for SandboxLayer
impl Unpin for SandboxLayer
impl UnsafeUnpin for SandboxLayer
impl UnwindSafe for SandboxLayer
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