Skip to main content

ExternalMemoryUser

Trait ExternalMemoryUser 

Source
pub trait ExternalMemoryUser {
    // Required method
    fn capture(&mut self) -> Option<NamedMemUsageTree>;
}
Expand description

Something contributing to application memory that is not visible in this crate.

Required Methods§

Source

fn capture(&mut self) -> Option<NamedMemUsageTree>

Will return Some while the memory user exists. After which it will always return None.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§