pub enum ManifestLoadError {
InvalidPath {
path: PathBuf,
},
ReadError {
path: PathBuf,
cause: Error,
},
ParseError {
path: PathBuf,
cause: ClonableError,
},
}
Expand description
Errors when loading manifest
Variants§
InvalidPath
Invalid manifest path
ReadError
IO error when reading the manifest
ParseError
Invalid syntax in the manifest file
Trait Implementations§
Source§impl Debug for ManifestLoadError
impl Debug for ManifestLoadError
Source§impl Display for ManifestLoadError
impl Display for ManifestLoadError
Source§impl Error for ManifestLoadError
impl Error for ManifestLoadError
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 ManifestLoadError
impl !RefUnwindSafe for ManifestLoadError
impl Send for ManifestLoadError
impl Sync for ManifestLoadError
impl Unpin for ManifestLoadError
impl !UnwindSafe for ManifestLoadError
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