pub enum NodeJSRelInfoError {
UnrecognizedOs(String),
UnrecognizedArch(String),
UnrecognizedExt(String),
InvalidVersion(String),
UnrecognizedVersion(String),
UnrecognizedConfiguration(String),
HttpError(Error),
}
Variants§
UnrecognizedOs(String)
The operating system for the Node.js distributable you are targeting is
unrecognized - see: NodeJSOS
for options
UnrecognizedArch(String)
The CPU architecture for the Node.js distributable you are targeting is
unrecognized - see: NodeJSArch
for options
UnrecognizedExt(String)
The file extension of the Node.js distributable you are targeting is
unrecognized - see: NodeJSPkgExt
for options
InvalidVersion(String)
The version string provided is invalid - see: semver
UnrecognizedVersion(String)
The version of Node.js you are targeting is not available
UnrecognizedConfiguration(String)
The Node.js configuration you are targeting is not available
HttpError(Error)
Something went wrong issuing or processing the HTTP GET request to the Node.js downloads server
Trait Implementations§
Source§impl Debug for NodeJSRelInfoError
impl Debug for NodeJSRelInfoError
Source§impl Display for NodeJSRelInfoError
impl Display for NodeJSRelInfoError
Source§impl Error for NodeJSRelInfoError
impl Error for NodeJSRelInfoError
1.30.0 · 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 NodeJSRelInfoError
impl !RefUnwindSafe for NodeJSRelInfoError
impl Send for NodeJSRelInfoError
impl Sync for NodeJSRelInfoError
impl Unpin for NodeJSRelInfoError
impl !UnwindSafe for NodeJSRelInfoError
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