Struct kaspa_mining::P2pTxCountSample
source · pub struct P2pTxCountSample {
pub elapsed_time: Duration,
pub low_priority_tx_counts: u64,
}Expand description
Contains a snapshot of only the P2P transaction counter and time elapsed
Fields§
§elapsed_time: Duration§low_priority_tx_counts: u64Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for P2pTxCountSample
impl Send for P2pTxCountSample
impl Sync for P2pTxCountSample
impl Unpin for P2pTxCountSample
impl UnwindSafe for P2pTxCountSample
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
§impl<T> CastFrom for Twhere
T: Any + 'static,
impl<T> CastFrom for Twhere
T: Any + 'static,
§fn ref_any(&self) -> &(dyn Any + 'static)
fn ref_any(&self) -> &(dyn Any + 'static)
Returns a immutable reference to
Any, which is backed by the type implementing this trait.§fn mut_any(&mut self) -> &mut (dyn Any + 'static)
fn mut_any(&mut self) -> &mut (dyn Any + 'static)
Returns a mutable reference to
Any, which is backed by the type implementing this trait.