pub trait StateSize {
// Required method
fn state_size(&self) -> usize;
}Expand description
State that can report the memory it contributes to a dataflow solution.
Required Methods§
Sourcefn state_size(&self) -> usize
fn state_size(&self) -> usize
Returns the state payload’s accounted size in bytes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".