pub struct SignalHandling {
pub ignore_sigint: Option<bool>,
pub forward_signals: Option<bool>,
pub kill_on_exit: Option<bool>,
}Expand description
Signal handling configuration
Fields§
§ignore_sigint: Option<bool>Whether to ignore SIGINT/Ctrl+C
forward_signals: Option<bool>Whether to forward signals to child process
kill_on_exit: Option<bool>Whether to kill child processes when parent exits
Trait Implementations§
Source§impl Clone for SignalHandling
impl Clone for SignalHandling
Source§fn clone(&self) -> SignalHandling
fn clone(&self) -> SignalHandling
Returns a duplicate 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 SignalHandling
impl Debug for SignalHandling
Source§impl Default for SignalHandling
impl Default for SignalHandling
Source§impl<'de> Deserialize<'de> for SignalHandling
impl<'de> Deserialize<'de> for SignalHandling
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SignalHandling
impl RefUnwindSafe for SignalHandling
impl Send for SignalHandling
impl Sync for SignalHandling
impl Unpin for SignalHandling
impl UnwindSafe for SignalHandling
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