pub fn collect_rent_from_account(
feature_set: &FeatureSet,
rent_collector: &dyn SVMRentCollector,
address: &Pubkey,
account: &mut AccountSharedData,
) -> CollectedInfo
Expand description
Collect rent from an account if rent is still enabled and regardless of whether rent is enabled, set the rent epoch to u64::MAX if the account is rent exempt.