enum SpecRuntimeErrorKind {
MissingEnemy {
enemy: EnemyIdx,
},
EnemyDeathSpatialRemoval {
enemy: EnemyIdx,
source: SpatialQueryError,
},
EncounterStalled {
pull: PullId,
incomplete_required_groups: Vec<GroupId>,
inactive_live_enemies: Vec<EnemyIdx>,
},
EncounterScript {
pull: PullId,
message: String,
},
InvalidEmpowerRank {
spell_id: u32,
requested_rank: u8,
max_rank: u8,
},
}Variants§
Trait Implementations§
Source§impl Debug for SpecRuntimeErrorKind
impl Debug for SpecRuntimeErrorKind
Source§impl Display for SpecRuntimeErrorKind
impl Display for SpecRuntimeErrorKind
Source§impl Error for SpecRuntimeErrorKind
impl Error for SpecRuntimeErrorKind
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 SpecRuntimeErrorKind
impl RefUnwindSafe for SpecRuntimeErrorKind
impl Send for SpecRuntimeErrorKind
impl Sync for SpecRuntimeErrorKind
impl Unpin for SpecRuntimeErrorKind
impl UnsafeUnpin for SpecRuntimeErrorKind
impl UnwindSafe for SpecRuntimeErrorKind
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