pub trait ProtectedGenerationSlot: Eq {
// Required methods
fn generation(&self) -> u64;
fn validates(&self) -> bool;
}Expand description
ProtectedGenerationSlot
One physical generation slot that can participate in protected recovery.
Required Methods§
Sourcefn generation(&self) -> u64
fn generation(&self) -> u64
Generation encoded by this slot.
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.