pub trait Versioned {
    fn version(&self) -> u64;

    fn is_greater_than_or_equal(&self, version: u64) -> bool { ... }
}
Expand description

Trait indicating that the item is versioned.

Required Methods§

Retrieve the version for this item instance.

Provided Methods§

Determine if this item’s version is greater than or equal to the provided version parameter.

Implementors§