pub struct SigData(pub u64);
Expand description
Semantic wrapper for signal data to pass.
This data will be copied to user’s signal handler (through si_perf
in the siginfo_t
) to disambiguate which event triggered the signal.
Since linux-5.13
: https://github.com/torvalds/linux/commit/97ba62b278674293762c3d91f724f1bb922f04e0
Tuple Fields§
§0: u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SigData
impl RefUnwindSafe for SigData
impl Send for SigData
impl Sync for SigData
impl Unpin for SigData
impl UnwindSafe for SigData
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