Trait prae::MapOriginalError
source · [−]pub trait MapOriginalError<O, E> {
fn map_original(self) -> Result<O, E>;
}
Expand description
Convenience trait that allows mapping from Result<_, ConstructionError<Wrapper>>
, Result<_, MutationError<Wrapper>
and
Result<_, VerificationError<Wrapper>>
to Result<_, Wrapper::Error>
.