pub trait GenericErrorRefExt<T, E>{
// Required methods
fn make_generic_ref(self) -> Result<T, GenericError<E>>;
fn make_generic_ref_untyped(self) -> Result<T, GenericError<Untyped>>
where E: 'static;
}
Expand description
This is an extension trait for the following impl:
ⓘ
#[extension(pub trait GenericErrorRefExt)]
impl< T, E > for Result < T, & E >
where
E : Display + std :: fmt :: Debug + core :: error :: Error