[−][src]Enum minus::ExitStrategy
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]
pub fn clone(&self) -> ExitStrategy
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ExitStrategy> for ExitStrategy
[src]
pub fn eq(&self, other: &ExitStrategy) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for ExitStrategy
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExitStrategy
[src]
impl Send for ExitStrategy
[src]
impl Sync for ExitStrategy
[src]
impl Unpin for ExitStrategy
[src]
impl UnwindSafe for ExitStrategy
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,