pub(super) fn type_name(as_ct: &impl AsCodeType) -> Result<String, Error>