Struct jail::JailConfig
source · pub struct JailConfig {
pub pivot_root: PathBuf,
pub seccomp_policy_dir: Option<PathBuf>,
pub seccomp_log_failures: bool,
}
Fields§
§pivot_root: PathBuf
§seccomp_policy_dir: Option<PathBuf>
§seccomp_log_failures: bool
Trait Implementations§
source§impl Clone for JailConfig
impl Clone for JailConfig
source§fn clone(&self) -> JailConfig
fn clone(&self) -> JailConfig
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 JailConfig
impl Debug for JailConfig
source§impl Default for JailConfig
impl Default for JailConfig
source§impl<'de> Deserialize<'de> for JailConfig
impl<'de> Deserialize<'de> for JailConfig
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 FromArgValue for JailConfig
impl FromArgValue for JailConfig
source§impl PartialEq for JailConfig
impl PartialEq for JailConfig
source§fn eq(&self, other: &JailConfig) -> bool
fn eq(&self, other: &JailConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for JailConfig
impl Serialize for JailConfig
impl Eq for JailConfig
impl StructuralPartialEq for JailConfig
Auto Trait Implementations§
impl RefUnwindSafe for JailConfig
impl Send for JailConfig
impl Sync for JailConfig
impl Unpin for JailConfig
impl UnwindSafe for JailConfig
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