Enum JarInputsError
#[non_exhaustive]pub enum JarInputsError {
Missing(Box<MissingJar>),
Io {
path: String,
message: String,
},
Invalid {
path: String,
message: String,
},
}Expand description
An accepted root’s original-jar inputs could not be checked.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Missing(Box<MissingJar>)
An exact original is unavailable, with every requiring mod retained.
Io
The accepted inputs or cache metadata could not be read.
Invalid
The accepted input record failed schema validation.
Trait Implementations§
§impl Clone for JarInputsError
impl Clone for JarInputsError
§fn clone(&self) -> JarInputsError
fn clone(&self) -> JarInputsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for JarInputsError
impl Debug for JarInputsError
§impl Display for JarInputsError
impl Display for JarInputsError
impl Eq for JarInputsError
§impl Error for JarInputsError
impl Error for JarInputsError
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()
§impl PartialEq for JarInputsError
impl PartialEq for JarInputsError
impl StructuralPartialEq for JarInputsError
Auto Trait Implementations§
impl Freeze for JarInputsError
impl RefUnwindSafe for JarInputsError
impl Send for JarInputsError
impl Sync for JarInputsError
impl Unpin for JarInputsError
impl UnsafeUnpin for JarInputsError
impl UnwindSafe for JarInputsError
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