pub fn sig_resolved_disposition(
        &mut self,
        sig: Sig,
        deterministic: SignalDeterministic,
    ) -> SignalResolvedDisposition {
        if self.is_fatal_signal(sig, deterministic) {
            return SignalResolvedDisposition::DispositionFatal;
        }
        if self.signal_has_user_handler(sig) && !self.is_sig_blocked(sig) {
            return SignalResolvedDisposition::DispositionUserHandler;
        }
        SignalResolvedDisposition::DispositionIgnored
    }
/// Return the resolved disposition --- what this signal will actually do,
/// taking into account the default behavior.
Return the resolved disposition --- what this signal will actually do,
taking into account the default behavior.
Return the resolved disposition --- what this signal will actually do taking into account the default behavior .
pub fn sig_resolved_disposition(
        &mut self,
        sig: Sig,
        deterministic: SignalDeterministic,
    ) -> SignalResolvedDisposition {
        if self.is_fatal_signal(sig, deterministic) {
            return SignalResolvedDisposition::DispositionFatal;
        }
        if self.signal_has_user_handler(sig) && !self.is_sig_blocked(sig) {
            return SignalResolvedDisposition::DispositionUserHandler;
        }
        SignalResolvedDisposition::DispositionIgnored
    }
pub fn sig_resolved_disposition ( & mut self , sig : Sig , deterministic : SignalDeterministic , ) -> SignalResolvedDisposition { if self . is_fatal_signal ( sig , deterministic ) { return SignalResolvedDisposition :: DispositionFatal ; } if self . signal_has_user_handler ( sig ) && ! self . is_sig_blocked ( sig ) { return SignalResolvedDisposition :: DispositionUserHandler ; } SignalResolvedDisposition :: DispositionIgnored }
Return the resolved disposition --- what this signal will actually do,
taking into account the default behavior.
Return the resolved disposition --- what this signal will actually do taking into account the default behavior .
&mut self
sig
Sig
deterministic
SignalDeterministic