Struct sigaction
#[repr(C)]
pub struct sigaction { pub sa_sigaction: sighandler_t, pub sa_mask: sigset_t, pub sa_flags: c_int, pub sa_restorer: Option<extern "C" fn()> }
Fields
sa_sigaction: sighandler_tsa_mask: sigset_tsa_flags: c_intsa_restorer: Option<extern "C" fn()>
Trait Implementations
impl Clone for sigaction
fn clone(&self) -> sigaction
impl Copy for sigaction
impl Debug for sigaction
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for sigaction
impl Hash for sigaction
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for sigaction
fn eq(&self, other: &sigaction) -> bool
impl StructuralPartialEq for sigaction
Auto Trait Implementations
impl Freeze for sigaction
impl RefUnwindSafe for sigaction
impl Send for sigaction
impl Sync for sigaction
impl Unpin for sigaction
impl UnsafeUnpin for sigaction
impl UnwindSafe for sigaction
Blanket Implementations
impl<T> Any for sigaction
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for sigaction
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for sigaction
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for sigaction
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for sigaction
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for sigaction
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for sigaction
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for sigaction
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>