pub struct LightStatus {
pub mem_usage: usize,
pub transaction_count: usize,
pub senders: usize,
}Expand description
Light pool status. This status is cheap to compute and can be called frequently.
Fields§
§mem_usage: usizeMemory usage in bytes.
transaction_count: usizeTotal number of transactions in the pool.
senders: usizeNumber of unique senders in the pool.
Trait Implementations§
Source§impl Clone for LightStatus
impl Clone for LightStatus
Source§fn clone(&self) -> LightStatus
fn clone(&self) -> LightStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LightStatus
impl Debug for LightStatus
Source§impl Default for LightStatus
impl Default for LightStatus
Source§fn default() -> LightStatus
fn default() -> LightStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for LightStatus
impl PartialEq for LightStatus
impl Eq for LightStatus
impl StructuralPartialEq for LightStatus
Auto Trait Implementations§
impl Freeze for LightStatus
impl RefUnwindSafe for LightStatus
impl Send for LightStatus
impl Sync for LightStatus
impl Unpin for LightStatus
impl UnwindSafe for LightStatus
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