Enum minus::ExitStrategy [−][src]
pub enum ExitStrategy { ProcessQuit, PagerQuit, }
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
impl Clone for ExitStrategy
[src]
impl Clone for ExitStrategy
[src]fn clone(&self) -> ExitStrategy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ExitStrategy> for ExitStrategy
[src]
impl PartialEq<ExitStrategy> for ExitStrategy
[src]impl StructuralPartialEq for ExitStrategy
[src]
impl StructuralPartialEq for ExitStrategy
[src]Auto Trait Implementations
impl RefUnwindSafe for ExitStrategy
impl RefUnwindSafe for ExitStrategy
impl Send for ExitStrategy
impl Send for ExitStrategy
impl Sync for ExitStrategy
impl Sync for ExitStrategy
impl Unpin for ExitStrategy
impl Unpin for ExitStrategy
impl UnwindSafe for ExitStrategy
impl UnwindSafe for ExitStrategy