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)>
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