pub struct TransactionErrorMetrics {Show 23 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,
pub max_loaded_accounts_data_size_exceeded: usize,
pub program_execution_temporarily_restricted: 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
§max_loaded_accounts_data_size_exceeded: usize
§program_execution_temporarily_restricted: 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 Freeze for TransactionErrorMetrics
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more