Skip to main content

StateSize

Trait StateSize 

Source
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§

Source

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".

Implementors§