pub struct LinuxSeccompArgBuilder { /* private fields */ }
Expand description
Builder for LinuxSeccompArg
.
Implementations§
Source§impl LinuxSeccompArgBuilder
impl LinuxSeccompArgBuilder
Sourcepub fn value_two<VALUE: Into<u64>>(self, value: VALUE) -> Self
pub fn value_two<VALUE: Into<u64>>(self, value: VALUE) -> Self
The second value of the argument.
Sourcepub fn op<VALUE: Into<LinuxSeccompOperator>>(self, value: VALUE) -> Self
pub fn op<VALUE: Into<LinuxSeccompOperator>>(self, value: VALUE) -> Self
The operator for the argument.
Sourcepub fn build(self) -> Result<LinuxSeccompArg, OciSpecError>
pub fn build(self) -> Result<LinuxSeccompArg, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinuxSeccompArgBuilder
impl RefUnwindSafe for LinuxSeccompArgBuilder
impl Send for LinuxSeccompArgBuilder
impl Sync for LinuxSeccompArgBuilder
impl Unpin for LinuxSeccompArgBuilder
impl UnwindSafe for LinuxSeccompArgBuilder
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