Struct common_types::client_types::ClientReport [−][src]
Report on the status of a client.
Fields
blocks_imported: usize
How many blocks have been imported so far.
transactions_applied: usize
How many transactions have been applied so far.
gas_processed: U256
How much gas has been processed so far.
state_db_mem: usize
Memory used by state DB
Implementations
impl ClientReport
[src]
pub fn accrue_block(&mut self, header: &Header, transactions: usize)
[src]
Alter internal reporting to reflect the additional block
has been processed.
Trait Implementations
impl Clone for ClientReport
[src]
fn clone(&self) -> ClientReport
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ClientReport
[src]
impl Default for ClientReport
[src]
fn default() -> ClientReport
[src]
impl Eq for ClientReport
[src]
impl PartialEq<ClientReport> for ClientReport
[src]
fn eq(&self, other: &ClientReport) -> bool
[src]
fn ne(&self, other: &ClientReport) -> bool
[src]
impl StructuralEq for ClientReport
[src]
impl StructuralPartialEq for ClientReport
[src]
impl<'a> Sub<&'a ClientReport> for ClientReport
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, other: &'a ClientReport) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClientReport
impl Send for ClientReport
impl Sync for ClientReport
impl Unpin for ClientReport
impl UnwindSafe for ClientReport
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,