Struct solana_runtime::bank::CollectRentInPartitionInfo
source · struct CollectRentInPartitionInfo {
rent_collected: u64,
accounts_data_size_reclaimed: u64,
rent_rewards: Vec<(Pubkey, RewardInfo)>,
time_loading_accounts_us: u64,
time_collecting_rent_us: u64,
time_storing_accounts_us: u64,
num_accounts: usize,
}
Expand description
Return the computed values—of each iteration in the parallel loop inside
collect_rent_in_partition()
—and then perform a reduce on all of them.
Fields§
§rent_collected: u64
§accounts_data_size_reclaimed: u64
§rent_rewards: Vec<(Pubkey, RewardInfo)>
§time_loading_accounts_us: u64
§time_collecting_rent_us: u64
§time_storing_accounts_us: u64
§num_accounts: usize
Implementations§
source§impl CollectRentInPartitionInfo
impl CollectRentInPartitionInfo
sourcefn new(
info: CollectRentFromAccountsInfo,
time_loading_accounts: Duration
) -> Self
fn new( info: CollectRentFromAccountsInfo, time_loading_accounts: Duration ) -> Self
Create a new CollectRentInPartitionInfo
from the results of loading accounts and
collecting rent on them.
Trait Implementations§
source§impl Debug for CollectRentInPartitionInfo
impl Debug for CollectRentInPartitionInfo
source§impl Default for CollectRentInPartitionInfo
impl Default for CollectRentInPartitionInfo
source§fn default() -> CollectRentInPartitionInfo
fn default() -> CollectRentInPartitionInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CollectRentInPartitionInfo
impl Send for CollectRentInPartitionInfo
impl Sync for CollectRentInPartitionInfo
impl Unpin for CollectRentInPartitionInfo
impl UnwindSafe for CollectRentInPartitionInfo
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