Struct tetsy_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

mem_usage: usize

Memory usage in bytes.

transaction_count: usize

Total number of transactions in the pool.

senders: usize

Number of unique senders in the pool.

Trait Implementations

impl Clone for LightStatus[src]

impl Debug for LightStatus[src]

impl Default for LightStatus[src]

impl Eq for LightStatus[src]

impl PartialEq<LightStatus> for LightStatus[src]

impl StructuralEq for LightStatus[src]

impl StructuralPartialEq for LightStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.