Struct git_features::interrupt::ResetOnDrop [−][src]
pub struct ResetOnDrop { /* fields omitted */ }
Useful if some parts of the program set the interrupt programmatically to cause others to stop, while assuring the interrupt state is reset at the end of the function to avoid other side-effects.
Note that this is inherently racy and that this will only work deterministically if there is only one top-level function running in a process.
Trait Implementations
impl Default for ResetOnDrop
[src]
impl Default for ResetOnDrop
[src]impl Drop for ResetOnDrop
[src]
impl Drop for ResetOnDrop
[src]Auto Trait Implementations
impl RefUnwindSafe for ResetOnDrop
impl RefUnwindSafe for ResetOnDrop
impl Send for ResetOnDrop
impl Send for ResetOnDrop
impl Sync for ResetOnDrop
impl Sync for ResetOnDrop
impl Unpin for ResetOnDrop
impl Unpin for ResetOnDrop
impl UnwindSafe for ResetOnDrop
impl UnwindSafe for ResetOnDrop