Struct oci_spec::runtime::LinuxSeccompArgBuilder
source · 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 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