/// Returns the action's handler.
Returns the action's handler.
Returns the action ' s handler .
pub fn handler(&self) -> SigHandler {
        match self.sigaction.sa_sigaction {
            libc::SIG_DFL => SigHandler::SigDfl,
            libc::SIG_IGN => SigHandler::SigIgn,
            f if self.flags().contains(SaFlags::SA_SIGINFO) =>
                SigHandler::SigAction( unsafe { mem::transmute(f) } ),
            f => SigHandler::Handler( unsafe { mem::transmute(f) } ),
        }
    }
pub fn handler ( & self ) -> SigHandler { match self . sigaction . sa_sigaction { libc :: SIG_DFL => SigHandler :: SigDfl , libc :: SIG_IGN => SigHandler :: SigIgn , f if self . flags ( ) . contains ( SaFlags :: SA_SIGINFO ) => SigHandler :: SigAction ( unsafe { mem :: transmute ( f ) } ) , f => SigHandler :: Handler ( unsafe { mem :: transmute ( f ) } ) , } }
Returns the action's handler.
Returns the action ' s handler .
&self