pub enum SteamError {
SteamDirNotFound,
VdfNotFound,
VdfParseError(Error),
VdfProcessingError(&'static str),
Ck3NotFound,
CK3Missing,
}
Variants§
SteamDirNotFound
The Steam directory was not found.
VdfNotFound
The VDF file was not found.
VdfParseError(Error)
An error occurred while parsing the VDF file.
VdfProcessingError(&'static str)
An error occurred while processing the VDF file.
Ck3NotFound
The CK3 directory was not found. So it was in the manifest, but not in the library.
CK3Missing
According to the internal manifest, there is no CK3 installation.
Trait Implementations§
Source§impl Debug for SteamError
impl Debug for SteamError
Source§impl Display for SteamError
impl Display for SteamError
Source§impl Error for SteamError
impl Error for SteamError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SteamError
impl RefUnwindSafe for SteamError
impl Send for SteamError
impl Sync for SteamError
impl Unpin for SteamError
impl UnwindSafe for SteamError
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more