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