enum DeclaredSpecMetadataErrorKind {
EmptySpellIds,
ZeroSpellId {
category: &'static str,
},
AuraMissingFromSpells {
spell_id: u32,
},
ServerProcMissingFromSpells {
spell_id: u32,
},
DuplicateServerProc {
spell_id: u32,
},
EmptyServerProcAttributes {
spell_id: u32,
},
NamedSpellMissingFromSpells {
category: &'static str,
name: &'static str,
spell_id: u32,
},
NamedAuraMissingFromAuras {
category: &'static str,
name: &'static str,
spell_id: u32,
},
EmptyName {
category: &'static str,
},
DuplicateName {
category: &'static str,
name: &'static str,
},
DuplicateResource {
resource: ResourceType,
},
}Variants§
EmptySpellIds
ZeroSpellId
AuraMissingFromSpells
ServerProcMissingFromSpells
DuplicateServerProc
EmptyServerProcAttributes
NamedSpellMissingFromSpells
NamedAuraMissingFromAuras
EmptyName
DuplicateName
DuplicateResource
Fields
§
resource: ResourceTypeTrait Implementations§
Source§impl Error for DeclaredSpecMetadataErrorKind
impl Error for DeclaredSpecMetadataErrorKind
1.30.0 · 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 PartialEq for DeclaredSpecMetadataErrorKind
impl PartialEq for DeclaredSpecMetadataErrorKind
Source§fn eq(&self, other: &DeclaredSpecMetadataErrorKind) -> bool
fn eq(&self, other: &DeclaredSpecMetadataErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DeclaredSpecMetadataErrorKind
impl StructuralPartialEq for DeclaredSpecMetadataErrorKind
Auto Trait Implementations§
impl Freeze for DeclaredSpecMetadataErrorKind
impl RefUnwindSafe for DeclaredSpecMetadataErrorKind
impl Send for DeclaredSpecMetadataErrorKind
impl Sync for DeclaredSpecMetadataErrorKind
impl Unpin for DeclaredSpecMetadataErrorKind
impl UnsafeUnpin for DeclaredSpecMetadataErrorKind
impl UnwindSafe for DeclaredSpecMetadataErrorKind
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