pub struct TransactionErrorMetrics {Show 21 fields
pub total: usize,
pub account_in_use: usize,
pub too_many_account_locks: usize,
pub account_loaded_twice: usize,
pub account_not_found: usize,
pub blockhash_not_found: usize,
pub blockhash_too_old: usize,
pub call_chain_too_deep: usize,
pub already_processed: usize,
pub instruction_error: usize,
pub insufficient_funds: usize,
pub invalid_account_for_fee: usize,
pub invalid_account_index: usize,
pub invalid_program_for_execution: usize,
pub not_allowed_during_cluster_maintenance: usize,
pub invalid_writable_account: usize,
pub invalid_rent_paying_account: usize,
pub would_exceed_max_block_cost_limit: usize,
pub would_exceed_max_account_cost_limit: usize,
pub would_exceed_max_vote_cost_limit: usize,
pub would_exceed_account_data_block_limit: usize,
}
Fields§
§total: usize
§account_in_use: usize
§too_many_account_locks: usize
§account_loaded_twice: usize
§account_not_found: usize
§blockhash_not_found: usize
§blockhash_too_old: usize
§call_chain_too_deep: usize
§already_processed: usize
§instruction_error: usize
§insufficient_funds: usize
§invalid_account_for_fee: usize
§invalid_account_index: usize
§invalid_program_for_execution: usize
§not_allowed_during_cluster_maintenance: usize
§invalid_writable_account: usize
§invalid_rent_paying_account: usize
§would_exceed_max_block_cost_limit: usize
§would_exceed_max_account_cost_limit: usize
§would_exceed_max_vote_cost_limit: usize
§would_exceed_account_data_block_limit: usize
Implementations§
source§impl TransactionErrorMetrics
impl TransactionErrorMetrics
pub fn new() -> Self
pub fn accumulate(&mut self, other: &TransactionErrorMetrics)
pub fn report(&self, id: u32, slot: Slot)
Trait Implementations§
source§impl Debug for TransactionErrorMetrics
impl Debug for TransactionErrorMetrics
source§impl Default for TransactionErrorMetrics
impl Default for TransactionErrorMetrics
source§fn default() -> TransactionErrorMetrics
fn default() -> TransactionErrorMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TransactionErrorMetrics
impl Send for TransactionErrorMetrics
impl Sync for TransactionErrorMetrics
impl Unpin for TransactionErrorMetrics
impl UnwindSafe for TransactionErrorMetrics
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