[][src]Enum minus::ExitStrategy

pub enum ExitStrategy {
    ProcessQuit,
    PagerQuit,
}

Behaviour that happens when the pager is exitted

Variants

ProcessQuit

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.

PagerQuit

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 PartialEq<ExitStrategy> for ExitStrategy[src]

impl StructuralPartialEq for ExitStrategy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.