Enum mr_bundle::error::BundleError
source · pub enum BundleError {
BundledPathNotInManifest(PathBuf),
BundledResourceMissing(PathBuf),
RelativeLocalPath(PathBuf),
}
Expand description
Errors which can occur while constructing a Bundle
Variants§
Trait Implementations§
source§impl Debug for BundleError
impl Debug for BundleError
source§impl Display for BundleError
impl Display for BundleError
source§impl Error for BundleError
impl Error for BundleError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<BundleError> for MrBundleError
impl From<BundleError> for MrBundleError
source§fn from(source: BundleError) -> Self
fn from(source: BundleError) -> Self
Converts to this type from the input type.
source§impl PartialEq for BundleError
impl PartialEq for BundleError
source§fn eq(&self, other: &BundleError) -> bool
fn eq(&self, other: &BundleError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BundleError
impl StructuralPartialEq for BundleError
Auto Trait Implementations§
impl Freeze for BundleError
impl RefUnwindSafe for BundleError
impl Send for BundleError
impl Sync for BundleError
impl Unpin for BundleError
impl UnwindSafe for BundleError
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.