pub enum MetaContentsError {
InvalidResourcePath {
cause: ResourcePathError,
path: String,
},
ExternalContentInMetaDirectory {
path: String,
},
EntryHasNoEqualsSign {
entry: String,
},
DuplicateResourcePath {
path: String,
},
IoError(Error),
ParseHash(ParseHashError),
FileDirectoryCollision {
path: String,
},
}
Variants§
InvalidResourcePath
ExternalContentInMetaDirectory
EntryHasNoEqualsSign
DuplicateResourcePath
IoError(Error)
ParseHash(ParseHashError)
FileDirectoryCollision
Trait Implementations§
Source§impl Debug for MetaContentsError
impl Debug for MetaContentsError
Source§impl Display for MetaContentsError
impl Display for MetaContentsError
Source§impl Error for MetaContentsError
impl Error for MetaContentsError
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()
Source§impl From<Error> for MetaContentsError
impl From<Error> for MetaContentsError
Source§impl From<MetaContentsError> for BuildError
impl From<MetaContentsError> for BuildError
Source§fn from(source: MetaContentsError) -> Self
fn from(source: MetaContentsError) -> Self
Converts to this type from the input type.
Source§impl From<MetaContentsError> for PackageManifestError
impl From<MetaContentsError> for PackageManifestError
Source§fn from(source: MetaContentsError) -> Self
fn from(source: MetaContentsError) -> Self
Converts to this type from the input type.
Source§impl From<ParseHashError> for MetaContentsError
impl From<ParseHashError> for MetaContentsError
Source§fn from(source: ParseHashError) -> Self
fn from(source: ParseHashError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MetaContentsError
impl !RefUnwindSafe for MetaContentsError
impl Send for MetaContentsError
impl Sync for MetaContentsError
impl Unpin for MetaContentsError
impl !UnwindSafe for MetaContentsError
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