pub trait MemoryProbe:
Send
+ Sync
+ Debug {
// Required method
fn available_bytes(&self) -> u64;
}Expand description
Reports the memory currently available to the process.
Required Methods§
Sourcefn available_bytes(&self) -> u64
fn available_bytes(&self) -> u64
Returns available bytes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".