pub struct PidSet { /* private fields */ }
Expand description
Manages a set of PIDs and their corresponding epoll file descriptors.
Implementations§
Source§impl PidSet
impl PidSet
Sourcepub fn new<P: IntoIterator<Item = u32>>(pids: P) -> Self
pub fn new<P: IntoIterator<Item = u32>>(pids: P) -> Self
Creates a new PidSet
with the specified PIDs.
§Arguments
pids
- An iterator over the PIDs to monitor.
Auto Trait Implementations§
impl Freeze for PidSet
impl RefUnwindSafe for PidSet
impl Send for PidSet
impl Sync for PidSet
impl Unpin for PidSet
impl UnwindSafe for PidSet
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