fn build_next_impl(enum_name: Ident, variants: Vec<ErrorVariant>) -> TokenStream
Expand description
Generate next
fn.
The generated fn will be like:
ⓘ
fn next(&self) -> Option<&dyn ::common_error::ext::StackError>;