pub enum LegacyBitsMigration {
NotCmf,
NothingToDo {
required_features: u32,
},
Migrated {
from: u32,
to: u32,
},
}Expand description
What CmfModel::migrate_legacy_embryo_bits found (and, unless it was
a dry run, did).
Variants§
NotCmf
Not a CMF file.
NothingToDo
No pre-0.8.1 Embryo bits: nothing to move (already migrated, a real Prism file, or a file that never carried them).
Migrated
Bits 7/8 moved to 12/13 (from → to). A dry run reports the move
without writing it.
Trait Implementations§
Source§impl Clone for LegacyBitsMigration
impl Clone for LegacyBitsMigration
impl Copy for LegacyBitsMigration
Source§impl Debug for LegacyBitsMigration
impl Debug for LegacyBitsMigration
impl Eq for LegacyBitsMigration
Source§impl PartialEq for LegacyBitsMigration
impl PartialEq for LegacyBitsMigration
impl StructuralPartialEq for LegacyBitsMigration
Auto Trait Implementations§
impl Freeze for LegacyBitsMigration
impl RefUnwindSafe for LegacyBitsMigration
impl Send for LegacyBitsMigration
impl Sync for LegacyBitsMigration
impl Unpin for LegacyBitsMigration
impl UnsafeUnpin for LegacyBitsMigration
impl UnwindSafe for LegacyBitsMigration
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