pub enum ManifestError {
Read {
path: PathBuf,
source: Error,
},
Parse {
path: PathBuf,
source: Error,
},
Path {
role: PathRole,
source: PathError,
},
}Expand description
Failure modes when loading or parsing a ProjectManifest.
Variants§
Read
I/O error reading the manifest file.
Parse
TOML deserialization error. Triggered by syntax errors and by
deny_unknown_fields violations such as putting format_regex
inside an [overrides."..."] block.
Fields
Path
One of the paths in the manifest did not satisfy the path convention from ADR-020 §2.
Trait Implementations§
Source§impl Debug for ManifestError
impl Debug for ManifestError
Source§impl Display for ManifestError
impl Display for ManifestError
Source§impl Error for ManifestError
impl Error for ManifestError
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 ManifestError
impl !RefUnwindSafe for ManifestError
impl Send for ManifestError
impl Sync for ManifestError
impl Unpin for ManifestError
impl UnsafeUnpin for ManifestError
impl !UnwindSafe for ManifestError
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