Enum minus::ExitStrategy [−][src]
pub enum ExitStrategy { ProcessQuit, PagerQuit, }
Expand description
Behaviour that happens when the pager is exitted
Variants
Kill the entire application immediately.
This is the prefered option if paging is the last thing you do. For example, the last thing you do in your program is reading from a file or a database and paging it concurrently
This is the default strategy.
Kill the pager only.
This is the prefered option if you want to do more stuff after exiting the pager. For example, if you’ve file system locks or you want to close database connectiions after the pager has done i’s job, you probably want to go for this option
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExitStrategy
impl Send for ExitStrategy
impl Sync for ExitStrategy
impl Unpin for ExitStrategy
impl UnwindSafe for ExitStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more