Enum prodash::render::tui::Interrupt [−][src]
pub enum Interrupt {
Instantly,
Deferred,
}
Expand description
The variants represented here allow the user to control when the GUI can be shutdown.
Variants
Instantly
Immediately exit the GUI event loop when there is an interrupt request.
This is the default when the event loop is entered.
Deferred
Instead of exiting the event loop instantly, wait until the next Interrupt::Instantly event is coming in.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Interrupt
impl UnwindSafe for Interrupt
Blanket Implementations
Mutably borrows from an owned value. Read more