pub struct TransactionErrorMetrics {Show 24 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 invalid_compute_budget: 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
§invalid_compute_budget: 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)
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