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