[][src]Trait ckb_sentry_failure::FailureResultExt

pub trait FailureResultExt {
    type Value;
    pub fn fallible_unwrap(self) -> Self::Value;
}
👎 Deprecated:

The failure integration is deprecated and will be removed in the future.

Extension trait providing methods to unwrap a result, preserving backtraces from the underlying error in the event of a panic.

Associated Types

type Value[src]

👎 Deprecated:

The failure integration is deprecated and will be removed in the future.

Type of the success case

Loading content...

Required methods

pub fn fallible_unwrap(self) -> Self::Value[src]

👎 Deprecated:

The failure integration is deprecated and will be removed in the future.

Unwraps the result, panicking if it contains an error. Any backtrace attached to the error will be preserved with the panic.

Loading content...

Implementations on Foreign Types

impl<T, E> FailureResultExt for Result<T, E> where
    E: Into<Error>, 
[src]

type Value = T

👎 Deprecated:

The failure integration is deprecated and will be removed in the future.

Loading content...

Implementors

Loading content...