pub struct WaitId { /* private fields */ }
Expand description
Issue the equivalent of a waitid(2)
system call.
Available since kernel 6.7.
Implementations§
Source§impl WaitId
impl WaitId
Sourcepub const CODE: u8 = 50u8
pub const CODE: u8 = 50u8
The opcode of the operation. This can be passed to
Probe::is_supported
to check if this operation is
supported with the current kernel.
pub fn new(idtype: idtype_t, id: id_t, options: c_int) -> Self
pub const fn infop(self, infop: *const siginfo_t) -> Self
pub const fn flags(self, flags: c_uint) -> Self
pub fn build(self) -> Entry
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaitId
impl RefUnwindSafe for WaitId
impl !Send for WaitId
impl !Sync for WaitId
impl Unpin for WaitId
impl UnwindSafe for WaitId
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