[][src]Enum exit::Exit

pub enum Exit<T> {
    Ok,
    Err(T),
}

Variants

OkErr(T)

Trait Implementations

impl<T> Try for Exit<T>[src]

type Ok = ()

🔬 This is a nightly-only experimental API. (try_trait)

The type of this value when viewed as successful.

type Error = T

🔬 This is a nightly-only experimental API. (try_trait)

The type of this value when viewed as failed.

impl<T: Into<i32>> Termination for Exit<T>[src]

impl<T: Into<i32> + ExitDisplay> Termination for Exit<T>[src]

Auto Trait Implementations

impl<T> Send for Exit<T> where
    T: Send

impl<T> Sync for Exit<T> where
    T: Sync

Blanket Implementations

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

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

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.

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

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

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