Struct kaspa_txscript::caches::TxScriptCacheCounters
source · pub struct TxScriptCacheCounters {
pub insert_counts: AtomicU64,
pub get_counts: AtomicU64,
}Fields§
§insert_counts: AtomicU64§get_counts: AtomicU64Implementations§
source§impl TxScriptCacheCounters
impl TxScriptCacheCounters
pub fn snapshot(&self) -> TxScriptCacheCountersSnapshot
Trait Implementations§
source§impl Default for TxScriptCacheCounters
impl Default for TxScriptCacheCounters
source§fn default() -> TxScriptCacheCounters
fn default() -> TxScriptCacheCounters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TxScriptCacheCounters
impl Send for TxScriptCacheCounters
impl Sync for TxScriptCacheCounters
impl Unpin for TxScriptCacheCounters
impl UnwindSafe for TxScriptCacheCounters
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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