pub enum PackageManifestError {
InvalidBlobPath {
merkle: Hash,
source_path: PathBuf,
},
InvalidSubpackagePath {
merkle: Hash,
path: PathBuf,
},
IoError(Error),
IoErrorWithPath {
cause: Error,
path: PathBuf,
},
MetaContents(MetaContentsError),
MetaPackage(MetaPackageError),
MetaSubpackages(MetaSubpackagesError),
Archive(Error),
RelativeWrite(Error),
Persist {
cause: PersistError,
path: PathBuf,
},
DecompressDeliveryBlob {
cause: DecompressError,
path: PathBuf,
},
}
Variants§
InvalidBlobPath
InvalidSubpackagePath
IoError(Error)
IoErrorWithPath
MetaContents(MetaContentsError)
MetaPackage(MetaPackageError)
MetaSubpackages(MetaSubpackagesError)
Archive(Error)
RelativeWrite(Error)
Persist
DecompressDeliveryBlob
Trait Implementations§
source§impl Debug for PackageManifestError
impl Debug for PackageManifestError
source§impl Display for PackageManifestError
impl Display for PackageManifestError
source§impl Error for PackageManifestError
impl Error for PackageManifestError
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 PackageManifestError
impl From<Error> for PackageManifestError
source§impl From<Error> for PackageManifestError
impl From<Error> for PackageManifestError
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<MetaPackageError> for PackageManifestError
impl From<MetaPackageError> for PackageManifestError
source§fn from(source: MetaPackageError) -> Self
fn from(source: MetaPackageError) -> Self
Converts to this type from the input type.
source§impl From<MetaSubpackagesError> for PackageManifestError
impl From<MetaSubpackagesError> for PackageManifestError
source§fn from(source: MetaSubpackagesError) -> Self
fn from(source: MetaSubpackagesError) -> Self
Converts to this type from the input type.
source§impl From<PackageManifestError> for BuildError
impl From<PackageManifestError> for BuildError
source§fn from(source: PackageManifestError) -> Self
fn from(source: PackageManifestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackageManifestError
impl !RefUnwindSafe for PackageManifestError
impl Send for PackageManifestError
impl Sync for PackageManifestError
impl Unpin for PackageManifestError
impl !UnwindSafe for PackageManifestError
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