pub trait ResourceInvariant<V> {
type Constant;
type Resource;
// Required method
spec fn inv(constant: Self::Constant, value: V, resource: Self::Resource) -> bool;
}Expand description
An invariant that relates a value to a tracked resource with a constant.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".