Function tracerr::map_from[][src]

pub fn map_from<F, T: From<F>>(e: Traced<F>) -> Traced<T>
Expand description

Maps value of error wrapped in Traced with its From implementation.

This is an equivalent of impl<E1, E2: From<E1>> From<Traced<E1>> for Traced<E2> (which cannot be implemented at the moment due to the lack of specialization in Rust).