pub enum PackageBuildManifestError {
ResourcePath {
cause: ResourcePathError,
path: String,
},
Json(Error),
ExternalContentInMetaDirectory {
path: String,
},
FarContentNotInMetaDirectory {
path: String,
},
EntryHasNoEqualsSign {
entry: String,
},
DuplicateResourcePath {
path: String,
},
IoError(Error),
WalkDir(Error),
StripPrefixError(StripPrefixError),
EmptyResourcePath,
InvalidFileType {
path: PathBuf,
},
FileDirectoryCollision {
path: String,
},
}
Variants§
ResourcePath
Json(Error)
ExternalContentInMetaDirectory
FarContentNotInMetaDirectory
EntryHasNoEqualsSign
DuplicateResourcePath
IoError(Error)
WalkDir(Error)
StripPrefixError(StripPrefixError)
EmptyResourcePath
InvalidFileType
FileDirectoryCollision
Trait Implementations§
Source§impl Debug for PackageBuildManifestError
impl Debug for PackageBuildManifestError
Source§impl Display for PackageBuildManifestError
impl Display for PackageBuildManifestError
Source§impl Error for PackageBuildManifestError
impl Error for PackageBuildManifestError
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 PackageBuildManifestError
impl From<Error> for PackageBuildManifestError
Source§impl From<Error> for PackageBuildManifestError
impl From<Error> for PackageBuildManifestError
Source§impl From<Error> for PackageBuildManifestError
impl From<Error> for PackageBuildManifestError
Source§impl From<StripPrefixError> for PackageBuildManifestError
impl From<StripPrefixError> for PackageBuildManifestError
Source§fn from(source: StripPrefixError) -> Self
fn from(source: StripPrefixError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackageBuildManifestError
impl !RefUnwindSafe for PackageBuildManifestError
impl Send for PackageBuildManifestError
impl Sync for PackageBuildManifestError
impl Unpin for PackageBuildManifestError
impl !UnwindSafe for PackageBuildManifestError
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