pub struct DeclaredSpecMetadataError {
kind: DeclaredSpecMetadataErrorKind,
}Expand description
Invalid static metadata supplied to a spec descriptor.
Fields§
§kind: DeclaredSpecMetadataErrorKindImplementations§
Source§impl DeclaredSpecMetadataError
impl DeclaredSpecMetadataError
fn new(kind: DeclaredSpecMetadataErrorKind) -> Self
Trait Implementations§
Source§impl Debug for DeclaredSpecMetadataError
impl Debug for DeclaredSpecMetadataError
Source§impl Display for DeclaredSpecMetadataError
impl Display for DeclaredSpecMetadataError
Source§impl Error for DeclaredSpecMetadataError
impl Error for DeclaredSpecMetadataError
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<DeclaredSpecMetadataError> for EngineError
impl From<DeclaredSpecMetadataError> for EngineError
Source§fn from(error: DeclaredSpecMetadataError) -> Self
fn from(error: DeclaredSpecMetadataError) -> Self
Converts to this type from the input type.
Source§impl From<DeclaredSpecMetadataError> for EngineErrorKind
impl From<DeclaredSpecMetadataError> for EngineErrorKind
Source§fn from(source: DeclaredSpecMetadataError) -> Self
fn from(source: DeclaredSpecMetadataError) -> Self
Converts to this type from the input type.
impl Eq for DeclaredSpecMetadataError
impl StructuralPartialEq for DeclaredSpecMetadataError
Auto Trait Implementations§
impl Freeze for DeclaredSpecMetadataError
impl RefUnwindSafe for DeclaredSpecMetadataError
impl Send for DeclaredSpecMetadataError
impl Sync for DeclaredSpecMetadataError
impl Unpin for DeclaredSpecMetadataError
impl UnsafeUnpin for DeclaredSpecMetadataError
impl UnwindSafe for DeclaredSpecMetadataError
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