pub struct SeccompConfig {
pub bpf_path: Option<String>,
pub apply_path: Option<String>,
}Expand description
Custom seccomp filter configuration.
Fields§
§bpf_path: Option<String>Path to custom BPF filter.
apply_path: Option<String>Path to custom apply-seccomp binary.
Trait Implementations§
Source§impl Clone for SeccompConfig
impl Clone for SeccompConfig
Source§fn clone(&self) -> SeccompConfig
fn clone(&self) -> SeccompConfig
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 SeccompConfig
impl Debug for SeccompConfig
Source§impl Default for SeccompConfig
impl Default for SeccompConfig
Source§fn default() -> SeccompConfig
fn default() -> SeccompConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SeccompConfig
impl<'de> Deserialize<'de> for SeccompConfig
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
Auto Trait Implementations§
impl Freeze for SeccompConfig
impl RefUnwindSafe for SeccompConfig
impl Send for SeccompConfig
impl Sync for SeccompConfig
impl Unpin for SeccompConfig
impl UnwindSafe for SeccompConfig
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