pub enum CofVersionSupport {
Native,
ReadViaMigration,
UnsupportedFuture,
UnsupportedPast,
}Expand description
Read/write compatibility class for a COF version byte.
Variants§
Native
The version is the crate’s native read/write format.
ReadViaMigration
The version is older but within the migration window.
UnsupportedFuture
The version is newer than this crate understands.
UnsupportedPast
The version is older than the supported migration floor.
Trait Implementations§
Source§impl Clone for CofVersionSupport
impl Clone for CofVersionSupport
Source§fn clone(&self) -> CofVersionSupport
fn clone(&self) -> CofVersionSupport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CofVersionSupport
impl Debug for CofVersionSupport
Source§impl PartialEq for CofVersionSupport
impl PartialEq for CofVersionSupport
Source§fn eq(&self, other: &CofVersionSupport) -> bool
fn eq(&self, other: &CofVersionSupport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CofVersionSupport
impl Eq for CofVersionSupport
impl StructuralPartialEq for CofVersionSupport
Auto Trait Implementations§
impl Freeze for CofVersionSupport
impl RefUnwindSafe for CofVersionSupport
impl Send for CofVersionSupport
impl Sync for CofVersionSupport
impl Unpin for CofVersionSupport
impl UnsafeUnpin for CofVersionSupport
impl UnwindSafe for CofVersionSupport
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