impl_auto_error_conversion

Macro impl_auto_error_conversion 

Source
macro_rules! impl_auto_error_conversion {
    ($src:ty, $target:ty, $snafu:ident) => { ... };
}
Expand description

Define the From conversion from an error type to another, where the first is the source of the second. It will use the given Snafu context selector to do so.