FailureResultExt

Trait FailureResultExt 

Source
pub trait FailureResultExt {
    type Value;

    // Required method
    fn fallible_unwrap(self) -> Self::Value;
}
๐Ÿ‘ŽDeprecated: The failure integration is deprecated and will be removed in the future.
Expand description

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

Required Associated Typesยง

Source

type Value

๐Ÿ‘ŽDeprecated: The failure integration is deprecated and will be removed in the future.

Type of the success case

Required Methodsยง

Source

fn fallible_unwrap(self) -> Self::Value

๐Ÿ‘Ž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.

Implementations on Foreign Typesยง

Sourceยง

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

Sourceยง

type Value = T

๐Ÿ‘ŽDeprecated: The failure integration is deprecated and will be removed in the future.
Sourceยง

fn fallible_unwrap(self) -> Self::Value

๐Ÿ‘ŽDeprecated: The failure integration is deprecated and will be removed in the future.

Implementorsยง