pub struct ContentCatalogError {
kind: ContentCatalogErrorKind,
}Expand description
Invalid or missing engine-content catalog data.
Fields§
§kind: ContentCatalogErrorKindImplementations§
Source§impl ContentCatalogError
impl ContentCatalogError
fn new(kind: ContentCatalogErrorKind) -> Self
Sourcepub const fn missing_spec(&self) -> Option<SpecId>
pub const fn missing_spec(&self) -> Option<SpecId>
Return the absent specialization for a failed descriptor lookup.
Trait Implementations§
Source§impl Debug for ContentCatalogError
impl Debug for ContentCatalogError
Source§impl Display for ContentCatalogError
impl Display for ContentCatalogError
Source§impl Error for ContentCatalogError
impl Error for ContentCatalogError
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<ContentCatalogError> for EngineError
impl From<ContentCatalogError> for EngineError
Source§fn from(error: ContentCatalogError) -> Self
fn from(error: ContentCatalogError) -> Self
Converts to this type from the input type.
Source§impl From<ContentCatalogError> for EngineErrorKind
impl From<ContentCatalogError> for EngineErrorKind
Source§fn from(source: ContentCatalogError) -> Self
fn from(source: ContentCatalogError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContentCatalogError
impl RefUnwindSafe for ContentCatalogError
impl Send for ContentCatalogError
impl Sync for ContentCatalogError
impl Unpin for ContentCatalogError
impl UnsafeUnpin for ContentCatalogError
impl UnwindSafe for ContentCatalogError
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