pub enum SaveError {
FileUnreadable,
FarmsMissing,
FarmsParseError,
PlaceableMissing,
PlaceableParseError,
VehicleMissing,
VehicleParseError,
CareerMissing,
CareerParseError,
}Expand description
Possible parse problems with a savegame
Variants§
FileUnreadable
File is unreadable
FarmsMissing
farms.xml is missing
FarmsParseError
farms.xml could not be parsed
PlaceableMissing
placables.xml missing
PlaceableParseError
placables.xml could not be parsed
VehicleMissing
vehicles.xml missing
VehicleParseError
vehicles.xml could not be parsed
CareerMissing
careerSavegame.xml missing
CareerParseError
careerSavegame.xml could not be parsed
Trait Implementations§
Source§impl Ord for SaveError
impl Ord for SaveError
Source§impl PartialOrd for SaveError
impl PartialOrd for SaveError
impl Eq for SaveError
impl StructuralPartialEq for SaveError
Auto Trait Implementations§
impl Freeze for SaveError
impl RefUnwindSafe for SaveError
impl Send for SaveError
impl Sync for SaveError
impl Unpin for SaveError
impl UnwindSafe for SaveError
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
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.