pub struct SigInfo {
pub si_signo: i32,
pub si_errno: i32,
pub si_code: i32,
}
Expand description
The information of the signal
When the SigAction
specifies that it needs information, it will return it to the user
Fields§
§si_signo: i32
The signal number
si_errno: i32
An errno value
si_code: i32
The code of the signal
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SigInfo
impl Send for SigInfo
impl Sync for SigInfo
impl Unpin for SigInfo
impl UnwindSafe for SigInfo
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