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ยง
Required Methodsยง
Sourcefn fallible_unwrap(self) -> Self::Value
๐Deprecated: The failure integration is deprecated and will be removed in the future.
fn fallible_unwrap(self) -> Self::Value
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>
impl<T, E> FailureResultExt for Result<T, E>
Sourceยงtype Value = T
type Value = T
๐Deprecated: The
failure integration is deprecated and will be removed in the future.Sourceยงfn fallible_unwrap(self) -> <Result<T, E> as FailureResultExt>::Value
fn fallible_unwrap(self) -> <Result<T, E> as FailureResultExt>::Value
๐Deprecated: The
failure integration is deprecated and will be removed in the future.