#[non_exhaustive]pub enum EmbeddedCatalogError {
UnavailableEdition(CatalogEdition),
UnsupportedProfile(CatalogProfile),
Archive(ArchiveError),
Patch(PatchError),
}Expand description
Why loading a committed embedded catalog snapshot failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
No committed generated data exists for this edition/profile pair.
UnsupportedProfile(CatalogProfile)
load_catalog was called with a profile other than Official or Corrected.
Archive(ArchiveError)
The committed binary artifact failed to decode.
Patch(PatchError)
Applying the built-in correction ledger to the official catalog failed.
Trait Implementations§
Source§impl Clone for EmbeddedCatalogError
impl Clone for EmbeddedCatalogError
Source§fn clone(&self) -> EmbeddedCatalogError
fn clone(&self) -> EmbeddedCatalogError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmbeddedCatalogError
impl Debug for EmbeddedCatalogError
Source§impl Display for EmbeddedCatalogError
impl Display for EmbeddedCatalogError
impl Eq for EmbeddedCatalogError
Source§impl Error for EmbeddedCatalogError
impl Error for EmbeddedCatalogError
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<ArchiveError> for EmbeddedCatalogError
impl From<ArchiveError> for EmbeddedCatalogError
Source§fn from(source: ArchiveError) -> Self
fn from(source: ArchiveError) -> Self
Converts to this type from the input type.
Source§impl From<PatchError> for EmbeddedCatalogError
impl From<PatchError> for EmbeddedCatalogError
Source§fn from(source: PatchError) -> Self
fn from(source: PatchError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmbeddedCatalogError
impl PartialEq for EmbeddedCatalogError
impl StructuralPartialEq for EmbeddedCatalogError
Auto Trait Implementations§
impl Freeze for EmbeddedCatalogError
impl RefUnwindSafe for EmbeddedCatalogError
impl Send for EmbeddedCatalogError
impl Sync for EmbeddedCatalogError
impl Unpin for EmbeddedCatalogError
impl UnsafeUnpin for EmbeddedCatalogError
impl UnwindSafe for EmbeddedCatalogError
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