pub trait TrackedStateMethods {
// Required methods
fn mark_fresh<F: Fn() -> String>(&mut self, loc: F) -> Result<()>;
fn check_and_reset<F: Fn() -> String>(&mut self, loc: F) -> Result<()>;
}Expand description
Methods for manipulating states that need to be implemented up the hierarchy
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.