Enum git_tempfile::SignalHandlerMode[][src]

pub enum SignalHandlerMode {
    DeleteTempfilesOnTermination,
    DeleteTempfilesOnTerminationAndRestoreDefaultBehaviour,
}
Expand description

Define how our signal handlers act

Variants

DeleteTempfilesOnTermination

Delete all remaining registered tempfiles on termination.

DeleteTempfilesOnTerminationAndRestoreDefaultBehaviour

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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.