Struct arceos_posix_api::ctypes::k_sigaction
source · #[repr(C)]pub struct k_sigaction {
pub handler: Option<unsafe extern "C" fn(arg1: c_int)>,
pub flags: c_ulong,
pub restorer: Option<unsafe extern "C" fn()>,
pub mask: [c_uint; 2],
}
Fields§
§handler: Option<unsafe extern "C" fn(arg1: c_int)>
§flags: c_ulong
§restorer: Option<unsafe extern "C" fn()>
§mask: [c_uint; 2]
Trait Implementations§
source§impl Clone for k_sigaction
impl Clone for k_sigaction
source§fn clone(&self) -> k_sigaction
fn clone(&self) -> k_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 k_sigaction
impl Debug for k_sigaction
source§impl Default for k_sigaction
impl Default for k_sigaction
source§fn default() -> k_sigaction
fn default() -> k_sigaction
Returns the “default value” for a type. Read more
impl Copy for k_sigaction
Auto Trait Implementations§
impl RefUnwindSafe for k_sigaction
impl Send for k_sigaction
impl Sync for k_sigaction
impl Unpin for k_sigaction
impl UnwindSafe for k_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