pub enum PackageManagerError {
PackageDefinitionError(PackageDefinitionError),
PartitionError(ResourcePartitionError),
PartitionNotFound(String),
}
Variants§
PackageDefinitionError(PackageDefinitionError)
PartitionError(ResourcePartitionError)
PartitionNotFound(String)
Trait Implementations§
source§impl Debug for PackageManagerError
impl Debug for PackageManagerError
source§impl Display for PackageManagerError
impl Display for PackageManagerError
source§impl Error for PackageManagerError
impl Error for PackageManagerError
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<PackageDefinitionError> for PackageManagerError
impl From<PackageDefinitionError> for PackageManagerError
source§fn from(source: PackageDefinitionError) -> Self
fn from(source: PackageDefinitionError) -> Self
Converts to this type from the input type.
source§impl From<ResourcePartitionError> for PackageManagerError
impl From<ResourcePartitionError> for PackageManagerError
source§fn from(source: ResourcePartitionError) -> Self
fn from(source: ResourcePartitionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackageManagerError
impl !RefUnwindSafe for PackageManagerError
impl Send for PackageManagerError
impl Sync for PackageManagerError
impl Unpin for PackageManagerError
impl !UnwindSafe for PackageManagerError
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