pub trait SpaceProbe:
Send
+ Sync
+ Debug {
// Required method
fn measure(&self) -> Result<(u64, u64)>;
}Expand description
What the ledger measures: (free, total) in bytes, free as an
unprivileged writer sees it (f_bavail).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".