pub struct VGraphMemoryBreakdown {
pub adjacency_ids_bytes: usize,
pub adjacency_offsets_bytes: usize,
pub traversal_codes_bytes: usize,
pub traversal_scales_bytes: usize,
pub residual_codes_bytes: usize,
pub residual_scales_bytes: usize,
pub mean_bytes: usize,
pub norms_bytes: usize,
pub original_ids_bytes: usize,
pub screen_bytes: usize,
pub neighbor_blocks_bytes: usize,
pub upper_layers_bytes: usize,
}Expand description
Logical payload bytes counted by VGraph::index_bytes, including row padding.
Excludes allocation capacity, slab rounding, object/allocator metadata, rotations and
query scratch. These are not resident, unique, proportional, or peak memory measures.
Fields§
§adjacency_ids_bytes: usize§adjacency_offsets_bytes: usize§traversal_codes_bytes: usize§traversal_scales_bytes: usize§residual_codes_bytes: usize§residual_scales_bytes: usize§mean_bytes: usize§norms_bytes: usize§original_ids_bytes: usize§screen_bytes: usize§neighbor_blocks_bytes: usize§upper_layers_bytes: usizeImplementations§
Source§impl VGraphMemoryBreakdown
impl VGraphMemoryBreakdown
pub fn total_bytes(&self) -> usize
Trait Implementations§
Source§impl Clone for VGraphMemoryBreakdown
impl Clone for VGraphMemoryBreakdown
impl Copy for VGraphMemoryBreakdown
Source§impl Debug for VGraphMemoryBreakdown
impl Debug for VGraphMemoryBreakdown
Source§impl Default for VGraphMemoryBreakdown
impl Default for VGraphMemoryBreakdown
impl Eq for VGraphMemoryBreakdown
Source§impl PartialEq for VGraphMemoryBreakdown
impl PartialEq for VGraphMemoryBreakdown
Source§impl Serialize for VGraphMemoryBreakdown
impl Serialize for VGraphMemoryBreakdown
impl StructuralPartialEq for VGraphMemoryBreakdown
Auto Trait Implementations§
impl Freeze for VGraphMemoryBreakdown
impl RefUnwindSafe for VGraphMemoryBreakdown
impl Send for VGraphMemoryBreakdown
impl Sync for VGraphMemoryBreakdown
impl Unpin for VGraphMemoryBreakdown
impl UnsafeUnpin for VGraphMemoryBreakdown
impl UnwindSafe for VGraphMemoryBreakdown
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,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.