pub struct Stats {
pub nodes: usize,
pub branches: usize,
pub entries: usize,
pub depth: usize,
}Expand description
统计信息。
Fields§
§nodes: usize独立节点数(深度 1 的分支)。
branches: usize关联分支数(深度 ≥2 的分支)。
entries: usize已登记条目总数。
depth: usize实测分支树最大深度。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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