Enum nix_compat::nixcpp::conf::SandboxSetting
source · pub enum SandboxSetting {
True,
False,
Relaxed,
}
Expand description
Valid values for the Nix ‘sandbox’ setting
Variants§
Trait Implementations§
source§impl Clone for SandboxSetting
impl Clone for SandboxSetting
source§fn clone(&self) -> SandboxSetting
fn clone(&self) -> SandboxSetting
Returns a copy 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 SandboxSetting
impl Debug for SandboxSetting
source§impl Display for SandboxSetting
impl Display for SandboxSetting
source§impl FromStr for SandboxSetting
impl FromStr for SandboxSetting
source§impl PartialEq for SandboxSetting
impl PartialEq for SandboxSetting
source§fn eq(&self, other: &SandboxSetting) -> bool
fn eq(&self, other: &SandboxSetting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SandboxSetting
impl StructuralPartialEq for SandboxSetting
Auto Trait Implementations§
impl Freeze for SandboxSetting
impl RefUnwindSafe for SandboxSetting
impl Send for SandboxSetting
impl Sync for SandboxSetting
impl Unpin for SandboxSetting
impl UnwindSafe for SandboxSetting
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)