Trait fatality::Nested

source ·
pub trait Nested<T, E: Split>where
    Self: Sized,
{ fn into_nested(
        self
    ) -> Result<Result<T, <E as Split>::Jfyi>, <E as Split>::Fatal>; }
Expand description

Converts a flat, yet splitable error into a nested Result<Result<_,Jfyi>, Fatal> error type.

Required Methods§

Convert into a nested error rather than a flat one, commonly for direct handling.

Implementations on Foreign Types§

Implementors§