Enum git_tempfile::SignalHandlerMode [−][src]
pub enum SignalHandlerMode {
None,
DeleteTempfilesOnTermination,
DeleteTempfilesOnTerminationAndRestoreDefaultBehaviour,
}
Expand description
Define how our signal handlers act
Variants
Do not install a signal handler at all, but have somebody else call our handler directly.
Delete all remaining registered tempfiles on termination.
Delete all remaining registered tempfiles on termination and emulate the default handler behaviour.
This is the default, which leads to the process to be aborted.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SignalHandlerMode
impl Send for SignalHandlerMode
impl Sync for SignalHandlerMode
impl Unpin for SignalHandlerMode
impl UnwindSafe for SignalHandlerMode
Blanket Implementations
Mutably borrows from an owned value. Read more