Trait GenericErrorRefExt

Source
pub trait GenericErrorRefExt<T, E>
where E: Display + Debug + Error,
{ // 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

Required Methods§

Implementations on Foreign Types§

Source§

impl<T, E> GenericErrorRefExt<T, E> for Result<T, &E>
where E: Display + Debug + Error,

Implementors§