Struct axruntime::rx_sigaction
source · pub struct rx_sigaction {
pub sa_handler: Option<unsafe extern "C" fn(_: c_int)>,
pub sa_flags: c_ulong,
pub sa_restorer: Option<unsafe extern "C" fn()>,
pub sa_mask: [c_uint; 2],
}
Available on crate feature
signal
only.Expand description
sigaction in kernel
Fields§
§sa_handler: Option<unsafe extern "C" fn(_: c_int)>
signal handler
sa_flags: c_ulong
signal flags
sa_restorer: Option<unsafe extern "C" fn()>
signal restorer
sa_mask: [c_uint; 2]
signal mask
Trait Implementations§
source§impl Clone for rx_sigaction
impl Clone for rx_sigaction
source§fn clone(&self) -> rx_sigaction
fn clone(&self) -> rx_sigaction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for rx_sigaction
impl Debug for rx_sigaction
impl Copy for rx_sigaction
Auto Trait Implementations§
impl RefUnwindSafe for rx_sigaction
impl Send for rx_sigaction
impl Sync for rx_sigaction
impl Unpin for rx_sigaction
impl UnwindSafe for rx_sigaction
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