pub enum ReShaderError {
}Expand description
Errors that can occur when installing ReShade
Variants§
FetchLatestVersion(String)
Occurs when there is a problem fetching the latest ReShade version from GitHub
For example, if the GitHub API is down, this error will occur.
Download(String, String)
Occurs when there is a problem downloading a file
Additionally, the second argument is additional information about the error.
Symlink(String, String, String)
Occurs when there is a problem symlinking a file or a directory
NoZipFile
Occurs when the ReShade installer doesn’t have a zip file (it’s missing its byte sequence for the zip file)
NoReShade64Dll
Occurs when the ReShade installer doesn’t have a ReShade64.dll file contained in it
ReadZipFile
Occurs when the ReShade installer’s zip file cannot be read
ExtractZipFile
Occurs when the ReShade installer’s zip file cannot be extracted
RepositoryNotFound(String)
Occurs when the repository for shaders or presets cannot be found
BranchNotFound(String, String)
Occurs when the branch for shaders or presets cannot be found
MergeConflict(String, String)
Occurs when the branch for shaders or presets cannot be merged
Io(Error)
Forwards the errors from std::io::Error
Reqwest(Error)
Forwards the errors from reqwest::Error
Git(Error)
Forwards the errors from git2::Error
Trait Implementations§
Source§impl Debug for ReShaderError
impl Debug for ReShaderError
Source§impl Display for ReShaderError
impl Display for ReShaderError
Source§impl Error for ReShaderError
impl Error for ReShaderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<Error> for ReShaderError
impl From<Error> for ReShaderError
Source§impl From<Error> for ReShaderError
impl From<Error> for ReShaderError
Source§impl From<Error> for ReShaderError
impl From<Error> for ReShaderError
Source§impl From<ReShaderError> for InquireError
impl From<ReShaderError> for InquireError
Source§fn from(value: ReShaderError) -> Self
fn from(value: ReShaderError) -> Self
Auto Trait Implementations§
impl Freeze for ReShaderError
impl !RefUnwindSafe for ReShaderError
impl Send for ReShaderError
impl Sync for ReShaderError
impl Unpin for ReShaderError
impl !UnwindSafe for ReShaderError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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