#[non_exhaustive]pub enum WrittenVersion {
Named(String),
Unnamed,
Malformed,
}Expand description
The version a write left at its origin, which is the data a write accessed (Annex II 3.2), as the origin’s answer named it.
The recording system holds the version id to the OBJECT_VERSION_ID
form before it is recorded, so a value the answer carried in its place,
whatever it holds, never reaches the record.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Named(String)
The answer named this OBJECT_VERSION_ID.
Unnamed
The answer named no version, so the record cannot tell which one the write left.
Malformed
The answer named a version that is no OBJECT_VERSION_ID, so the
record cannot tell which one the write left.
Implementations§
Trait Implementations§
Source§impl Clone for WrittenVersion
impl Clone for WrittenVersion
Source§impl Debug for WrittenVersion
impl Debug for WrittenVersion
impl Eq for WrittenVersion
Source§impl PartialEq for WrittenVersion
impl PartialEq for WrittenVersion
impl StructuralPartialEq for WrittenVersion
Auto Trait Implementations§
impl Freeze for WrittenVersion
impl RefUnwindSafe for WrittenVersion
impl Send for WrittenVersion
impl Sync for WrittenVersion
impl Unpin for WrittenVersion
impl UnsafeUnpin for WrittenVersion
impl UnwindSafe for WrittenVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more