[][src]Trait fatal::UnwrapExt

pub trait UnwrapExt {
    type T;
    pub fn unwrap_fatal(self) -> Self::T;
pub fn expect_fatal(self, message: impl Display) -> Self::T; }

An extension trait for unwrap.

Associated Types

type T[src]

Loading content...

Required methods

pub fn unwrap_fatal(self) -> Self::T[src]

An extension synonym for unwrap.

pub fn expect_fatal(self, message: impl Display) -> Self::T[src]

An extension synonym for expect.

Loading content...

Implementations on Foreign Types

impl<T, E: Display> UnwrapExt for Result<T, E>[src]

type T = T

Loading content...

Implementors

Loading content...