pub struct DHTStats {
pub peer_count: usize,
pub value_count: usize,
pub storage_size: usize,
pub max_storage: usize,
}Expand description
DHT statistics
Fields§
§peer_count: usize§value_count: usize§storage_size: usize§max_storage: usizeTrait 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 UnsafeUnpin 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