pub enum PackageError {
}Expand description
Why a package could not be read or fetched.
Variants§
InvalidName(String)
InvalidVersion(String)
Unreadable(String)
MissingManifest
InvalidManifest(String)
TooLarge(u64)
TooLargeUnpacked(u64)
TooManyFiles(usize)
NotFound(String)
NoMatchingVersion(String, String)
Registry(String)
RegistryDisabled
InvalidRegistry
Trait Implementations§
Source§impl Debug for PackageError
impl Debug for PackageError
Source§impl From<PackageError> for OperationOutcomeError
impl From<PackageError> for OperationOutcomeError
Source§fn from(value: PackageError) -> Self
fn from(value: PackageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackageError
impl RefUnwindSafe for PackageError
impl Send for PackageError
impl Sync for PackageError
impl Unpin for PackageError
impl UnsafeUnpin for PackageError
impl UnwindSafe for PackageError
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
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more