pub struct QueryPresets;Expand description
Preset query factory
Implementations§
Source§impl QueryPresets
impl QueryPresets
Sourcepub fn top_allocations_by_size(limit: usize) -> Query
pub fn top_allocations_by_size(limit: usize) -> Query
Create a query to find top allocations by size
Sourcepub fn top_allocations_by_count(limit: usize) -> Query
pub fn top_allocations_by_count(limit: usize) -> Query
Create a query to find top allocations by count
Sourcepub fn memory_leaks(min_age_ms: u64) -> Query
pub fn memory_leaks(min_age_ms: u64) -> Query
Create a query to find memory leaks
Sourcepub fn large_allocations(min_size: usize) -> Query
pub fn large_allocations(min_size: usize) -> Query
Create a query to find large allocations
Sourcepub fn thread_memory_stats(thread_id: u64) -> Query
pub fn thread_memory_stats(thread_id: u64) -> Query
Create a query to get thread memory statistics
Sourcepub fn scope_memory_stats(scope_name: String) -> Query
pub fn scope_memory_stats(scope_name: String) -> Query
Create a query to get scope memory statistics
Sourcepub fn type_memory_stats(type_name: String) -> Query
pub fn type_memory_stats(type_name: String) -> Query
Create a query to get type memory statistics
Sourcepub fn system_summary() -> Query
pub fn system_summary() -> Query
Create a query to get system-wide summary
Auto Trait Implementations§
impl Freeze for QueryPresets
impl RefUnwindSafe for QueryPresets
impl Send for QueryPresets
impl Sync for QueryPresets
impl Unpin for QueryPresets
impl UnsafeUnpin for QueryPresets
impl UnwindSafe for QueryPresets
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> 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