Struct signal_hook::low_level::siginfo::Process
source · #[non_exhaustive]pub struct Process {
pub pid: pid_t,
pub uid: uid_t,
}
Available on crate feature
extended-siginfo-raw
only.Expand description
Information about process, as presented in the signal metadata.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.pid: pid_t
The process ID.
uid: uid_t
The user owning the process.
Trait Implementations§
source§impl PartialEq<Process> for Process
impl PartialEq<Process> for Process
impl Copy for Process
impl Eq for Process
impl StructuralEq for Process
impl StructuralPartialEq for Process
Auto Trait Implementations§
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
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