pub enum JreError {
NotFound {
path: PathBuf,
},
InvalidStructure,
UnsupportedOS,
Io(Error),
Distribution(DistributionError),
Transfer(DownloadError),
Archive(ExtractError),
}Expand description
Errors related to Java Runtime Environment (JRE) operations
Variants§
NotFound
InvalidStructure
UnsupportedOS
Io(Error)
Distribution(DistributionError)
Transfer(DownloadError)
Archive(ExtractError)
Trait Implementations§
Source§impl Error for JreError
impl Error for JreError
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()
Source§impl From<DistributionError> for JreError
impl From<DistributionError> for JreError
Source§fn from(source: DistributionError) -> Self
fn from(source: DistributionError) -> Self
Converts to this type from the input type.
Source§impl From<DownloadError> for JreError
impl From<DownloadError> for JreError
Source§fn from(source: DownloadError) -> Self
fn from(source: DownloadError) -> Self
Converts to this type from the input type.
Source§impl From<ExtractError> for JreError
impl From<ExtractError> for JreError
Source§fn from(source: ExtractError) -> Self
fn from(source: ExtractError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for JreError
impl !UnwindSafe for JreError
impl Freeze for JreError
impl Send for JreError
impl Sync for JreError
impl Unpin for JreError
impl UnsafeUnpin for JreError
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