pub struct ProcessingCountersSnapshot {
pub blocks_submitted: u64,
pub header_counts: u64,
pub dep_counts: u64,
pub mergeset_counts: u64,
pub body_counts: u64,
pub txs_counts: u64,
pub chain_block_counts: u64,
pub chain_disqualified_counts: u64,
pub mass_counts: u64,
}Expand description
Re-export from consensus core
Fields§
§blocks_submitted: u64§header_counts: u64§dep_counts: u64§mergeset_counts: u64§body_counts: u64§txs_counts: u64§chain_block_counts: u64§chain_disqualified_counts: u64§mass_counts: u64Trait Implementations§
Source§impl Debug for ProcessingCountersSnapshot
impl Debug for ProcessingCountersSnapshot
Source§impl Sub for &ProcessingCountersSnapshot
impl Sub for &ProcessingCountersSnapshot
Source§type Output = ProcessingCountersSnapshot
type Output = ProcessingCountersSnapshot
The resulting type after applying the
- operator.Source§fn sub(
self,
rhs: &ProcessingCountersSnapshot,
) -> <&ProcessingCountersSnapshot as Sub>::Output
fn sub( self, rhs: &ProcessingCountersSnapshot, ) -> <&ProcessingCountersSnapshot as Sub>::Output
Performs the
- operation. Read moreimpl Eq for ProcessingCountersSnapshot
impl StructuralPartialEq for ProcessingCountersSnapshot
Auto Trait Implementations§
impl Freeze for ProcessingCountersSnapshot
impl RefUnwindSafe for ProcessingCountersSnapshot
impl Send for ProcessingCountersSnapshot
impl Sync for ProcessingCountersSnapshot
impl Unpin for ProcessingCountersSnapshot
impl UnwindSafe for ProcessingCountersSnapshot
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<S> CastArc for Swhere
S: CastFromSync + ?Sized,
impl<S> CastArc for Swhere
S: CastFromSync + ?Sized,
Source§impl<T> CastFrom for Twhere
T: Any + 'static,
impl<T> CastFrom for Twhere
T: Any + 'static,
Source§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.Source§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.Source§impl<T> CastFromSync for T
impl<T> CastFromSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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