Enum partiql_catalog::CatalogError
source · #[non_exhaustive]pub enum CatalogError {
EntryExists(String),
EntryError(String),
Unknown,
}
Expand description
Catalog Errors.
Notes
This is marked #[non_exhaustive]
, to reserve the right to add more variants in the future.
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.
EntryExists(String)
Entry exists error.
EntryError(String)
Entry error.
Unknown
Any other catalog error.
Trait Implementations§
source§impl Clone for CatalogError
impl Clone for CatalogError
source§fn clone(&self) -> CatalogError
fn clone(&self) -> CatalogError
Returns a copy of the value. Read more
1.0.0 · 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 CatalogError
impl Debug for CatalogError
source§impl Display for CatalogError
impl Display for CatalogError
source§impl Error for CatalogError
impl Error for CatalogError
1.30.0 · 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 PartialEq<CatalogError> for CatalogError
impl PartialEq<CatalogError> for CatalogError
source§fn eq(&self, other: &CatalogError) -> bool
fn eq(&self, other: &CatalogError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CatalogError
Auto Trait Implementations§
impl RefUnwindSafe for CatalogError
impl Send for CatalogError
impl Sync for CatalogError
impl Unpin for CatalogError
impl UnwindSafe for CatalogError
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