Struct jail::config::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<JailConfig> for JailConfig
impl PartialEq<JailConfig> 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 ==
.