Struct transaction_pool::LightStatus[][src]

pub struct LightStatus {
    pub mem_usage: usize,
    pub transaction_count: usize,
    pub senders: usize,
}

Light pool status. This status is cheap to compute and can be called frequently.

Fields

Memory usage in bytes.

Total number of transactions in the pool.

Number of unique senders in the pool.

Trait Implementations

impl Default for LightStatus
[src]

Returns the "default value" for a type. Read more

impl Debug for LightStatus
[src]

Formats the value using the given formatter. Read more

impl Clone for LightStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for LightStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for LightStatus
[src]

Auto Trait Implementations

impl Send for LightStatus

impl Sync for LightStatus