//! Contains support for Optimistic Concurrency Control through
//! Versioning.
/// Data type that carries a version for Optimistic Concurrency Control.
pubtraitVersioned{/// Current version of the data.
fnversion(&self)->u32;}impl<T> Versioned forOption<T>where
T: Versioned,
{#[inline]fnversion(&self)->u32{self.as_ref().map(Versioned::version).unwrap_or_default()}}