Struct oci_spec::runtime::LinuxSyscallBuilder
source · pub struct LinuxSyscallBuilder { /* private fields */ }
Expand description
Builder for LinuxSyscall
.
Implementations§
source§impl LinuxSyscallBuilder
impl LinuxSyscallBuilder
sourcepub fn action<VALUE: Into<LinuxSeccompAction>>(self, value: VALUE) -> Self
pub fn action<VALUE: Into<LinuxSeccompAction>>(self, value: VALUE) -> Self
The action to be done for the syscalls.
sourcepub fn args<VALUE: Into<Vec<LinuxSeccompArg>>>(self, value: VALUE) -> Self
pub fn args<VALUE: Into<Vec<LinuxSeccompArg>>>(self, value: VALUE) -> Self
The arguments for the syscalls.
sourcepub fn build(self) -> Result<LinuxSyscall, OciSpecError>
pub fn build(self) -> Result<LinuxSyscall, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LinuxSyscallBuilder
impl Send for LinuxSyscallBuilder
impl Sync for LinuxSyscallBuilder
impl Unpin for LinuxSyscallBuilder
impl UnwindSafe for LinuxSyscallBuilder
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