Struct solana_runtime::bank::CollectRentFromAccountsInfo
source · struct CollectRentFromAccountsInfo {
rent_collected_info: CollectedInfo,
rent_rewards: Vec<(Pubkey, RewardInfo)>,
time_collecting_rent_us: u64,
time_storing_accounts_us: u64,
num_accounts: usize,
}
Expand description
Return the computed values from collect_rent_from_accounts()
Since collect_rent_from_accounts()
is running in parallel, instead of updating the
atomics/shared data inside this function, return those values in this struct for the caller to
process later.
Fields§
§rent_collected_info: CollectedInfo
§rent_rewards: Vec<(Pubkey, RewardInfo)>
§time_collecting_rent_us: u64
§time_storing_accounts_us: u64
§num_accounts: usize
Trait Implementations§
source§impl Debug for CollectRentFromAccountsInfo
impl Debug for CollectRentFromAccountsInfo
source§impl Default for CollectRentFromAccountsInfo
impl Default for CollectRentFromAccountsInfo
source§fn default() -> CollectRentFromAccountsInfo
fn default() -> CollectRentFromAccountsInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CollectRentFromAccountsInfo
impl Send for CollectRentFromAccountsInfo
impl Sync for CollectRentFromAccountsInfo
impl Unpin for CollectRentFromAccountsInfo
impl UnwindSafe for CollectRentFromAccountsInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more