pub trait Observable: Output {
// Required method
fn snapshot(&mut self) -> u64;
}Available on crate feature
testing only.Expand description
A backend that can report a digest of what changed since the last call.
See the module docs for why “since the last call”, not the whole history or the whole current state, is the contract every implementation has to meet.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".