Skip to main content

default_unwrap_error_name

Function default_unwrap_error_name 

Source
pub fn default_unwrap_error_name(base: &Ident) -> Ident
Expand description

What the refusal a wrong-variant unwrap answers with is called when nothing renamed it: <Enum>UnwrapError.

The convention’s ONE home, for the reason crate::model’s defaulted names are theirs: a second member set equipped through the same seam takes the same suffix, and a suffix written twice is a suffix that can come to be written differently.