#[repr(i32)]pub enum Kind {
Show 18 variants
Internal = 1,
Environment = 2,
ConfigOpen = 3,
ConfigRead = 4,
ConfigParse = 5,
ProtonDir = 6,
ProtonSpawn = 7,
ProtonWait = 8,
ProtonMissing = 9,
ProgramMissing = 10,
IndexReadDir = 11,
VersionParse = 12,
ProtonExit = 13,
ArgumentMissing = 14,
JargonInternal = 15,
IndexCache = 16,
ParseRuntimeOpt = 17,
RuntimeMissing = 18,
}Expand description
Error Kinds
Variants§
Internal = 1
for when something weird happens in the program
Environment = 2
for when environment variables can’t be read
ConfigOpen = 3
for when the config file fails to be opened
ConfigRead = 4
for when the config file fails to be read
ConfigParse = 5
for when Toml fails to parse config
ProtonDir = 6
Pfor when creating a Proton directory fails
ProtonSpawn = 7
for when Proton fails to spawn
ProtonWait = 8
for when waiting for child process fails
ProtonMissing = 9
for when Proton is not found
ProgramMissing = 10
for when requested program is not found
IndexReadDir = 11
for when Indexing fails to read common directory
VersionParse = 12
for when parsing a version number fails
ProtonExit = 13
for when Proton exits with an error
ArgumentMissing = 14
for when a command line argument is missing
JargonInternal = 15
for when Jargon has an internal Error,
IndexCache = 16
for when Index failes an action with cache
ParseRuntimeOpt = 17
for when parsing RuntimeOption fails,
RuntimeMissing = 18
for when steam runtime version is missing
Trait Implementations§
Source§impl Ord for Kind
impl Ord for Kind
Source§impl PartialOrd for Kind
impl PartialOrd for Kind
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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