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: Key
Local node ID
total_nodes: usize
Total nodes in routing table
active_buckets: usize
Number of active buckets
stored_records: usize
Number of stored records
expired_records: usize
Number 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