pub struct Taxonomy {
pub tree: TaxonomyNode,
pub total_count: usize,
pub truncated: bool,
}Expand description
Result envelope returned by db::get_taxonomy.
total_count is the global memory count for the prefix (independent
of depth/limit truncation) so callers can render an honest
“X memories in N namespaces” header even when the tree was
truncated. truncated is set when the limit parameter forced us
to drop input rows when assembling the tree.
Fields§
§tree: TaxonomyNode§total_count: usize§truncated: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Taxonomy
impl RefUnwindSafe for Taxonomy
impl Send for Taxonomy
impl Sync for Taxonomy
impl Unpin for Taxonomy
impl UnsafeUnpin for Taxonomy
impl UnwindSafe for Taxonomy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more