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