pub enum DatFileVersion {
Legacy,
OldWalletCli((u8, u8, u8, u8, bool)),
RuskBinaryFileFormat((u8, u8, u8, u8, bool)),
}
Expand description
Versions of the potential wallet DAT files we read
Variants§
Legacy
Legacy the oldest format
OldWalletCli((u8, u8, u8, u8, bool))
Preciding legacy, we have the old one
RuskBinaryFileFormat((u8, u8, u8, u8, bool))
The newest one. All new saves are saved in this file format
Implementations§
Trait Implementations§
Source§impl Clone for DatFileVersion
impl Clone for DatFileVersion
Source§fn clone(&self) -> DatFileVersion
fn clone(&self) -> DatFileVersion
Returns a copy of the value. Read more
1.0.0 · 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 DatFileVersion
impl Debug for DatFileVersion
Source§impl PartialEq for DatFileVersion
impl PartialEq for DatFileVersion
impl Copy for DatFileVersion
impl StructuralPartialEq for DatFileVersion
Auto Trait Implementations§
impl Freeze for DatFileVersion
impl RefUnwindSafe for DatFileVersion
impl Send for DatFileVersion
impl Sync for DatFileVersion
impl Unpin for DatFileVersion
impl UnwindSafe for DatFileVersion
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