enum ContentCatalogErrorKind {
MissingCatalog,
MultipleCatalogs,
EmptyDescriptors,
DuplicateSpec {
spec_id: SpecId,
},
SpecNotFound {
spec_id: SpecId,
},
InvalidSpecMetadata {
spec_id: SpecId,
source: DeclaredSpecMetadataError,
},
ZeroSelectorId {
category: &'static str,
},
DuplicateSelectorId {
category: &'static str,
selector_id: u32,
},
EmptyResolveIds {
category: &'static str,
selector_id: u32,
},
ZeroResolveId {
category: &'static str,
selector_id: u32,
},
}Variants§
MissingCatalog
MultipleCatalogs
EmptyDescriptors
DuplicateSpec
SpecNotFound
InvalidSpecMetadata
ZeroSelectorId
DuplicateSelectorId
EmptyResolveIds
ZeroResolveId
Trait Implementations§
Source§impl Debug for ContentCatalogErrorKind
impl Debug for ContentCatalogErrorKind
Source§impl Display for ContentCatalogErrorKind
impl Display for ContentCatalogErrorKind
Source§impl Error for ContentCatalogErrorKind
impl Error for ContentCatalogErrorKind
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()
Auto Trait Implementations§
impl Freeze for ContentCatalogErrorKind
impl RefUnwindSafe for ContentCatalogErrorKind
impl Send for ContentCatalogErrorKind
impl Sync for ContentCatalogErrorKind
impl Unpin for ContentCatalogErrorKind
impl UnsafeUnpin for ContentCatalogErrorKind
impl UnwindSafe for ContentCatalogErrorKind
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> Pointable for T
impl<T> Pointable for T
Source§impl<T> SpecConfig for T
impl<T> SpecConfig for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more