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 Freeze for LinuxSyscallBuilder
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