[−][src]Enum exit::Exit
Variants
Ok
Err(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.
fn into_result(self) -> Result<Self::Ok, Self::Error>
[src]
fn from_error(err: Self::Error) -> Self
[src]
fn from_ok(_: Self::Ok) -> Self
[src]
impl<T: Into<i32>> Termination for Exit<T>
[src]
impl<T: Into<i32> + ExitDisplay> Termination for Exit<T>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,