pub struct SeccompBuilder { /* private fields */ }
Expand description
Builder for Seccomp
.
Implementations§
Source§impl SeccompBuilder
impl SeccompBuilder
pub fn architectures<VALUE: Into<Option<Vec<SeccompArch>>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn default_action<VALUE: Into<SeccompAction>>( &mut self, value: VALUE, ) -> &mut Self
pub fn syscalls<VALUE: Into<Option<Vec<Syscall>>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for SeccompBuilder
impl Clone for SeccompBuilder
Source§fn clone(&self) -> SeccompBuilder
fn clone(&self) -> SeccompBuilder
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 Default for SeccompBuilder
impl Default for SeccompBuilder
Source§fn default() -> SeccompBuilder
fn default() -> SeccompBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SeccompBuilder
impl RefUnwindSafe for SeccompBuilder
impl Send for SeccompBuilder
impl Sync for SeccompBuilder
impl Unpin for SeccompBuilder
impl UnwindSafe for SeccompBuilder
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