pub struct ManifestError { /* private fields */ }Expand description
Error wrapper related to a particular manifest and providing it’s path.
This error adds no displayable info of it’s own.
Implementations§
Source§impl ManifestError
impl ManifestError
pub fn new<E: Into<Error>>(cause: E, manifest: PathBuf) -> Self
pub fn manifest_path(&self) -> &PathBuf
Sourcepub fn manifest_causes(&self) -> ManifestCauses<'_> ⓘ
pub fn manifest_causes(&self) -> ManifestCauses<'_> ⓘ
Returns an iterator over the ManifestError chain of causes.
So if this error was not caused by another ManifestError this will be empty.
Trait Implementations§
Source§impl Debug for ManifestError
impl Debug for ManifestError
Source§impl Display for ManifestError
impl Display for ManifestError
Source§impl Fail for ManifestError
impl Fail for ManifestError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ManifestError
impl !UnwindSafe for ManifestError
impl Freeze for ManifestError
impl Send for ManifestError
impl Sync for ManifestError
impl Unpin for ManifestError
impl UnsafeUnpin 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