pub struct DHTStats {
pub local_id: Key,
pub total_nodes: usize,
pub active_buckets: usize,
pub stored_records: usize,
pub expired_records: usize,
}Expand description
DHT statistics
Fields§
§local_id: KeyLocal node ID
total_nodes: usizeTotal nodes in routing table
active_buckets: usizeNumber of active buckets
stored_records: usizeNumber of stored records
expired_records: usizeNumber of expired records
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DHTStats
impl RefUnwindSafe for DHTStats
impl Send for DHTStats
impl Sync for DHTStats
impl Unpin for DHTStats
impl UnwindSafe for DHTStats
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