pub(crate) enum RotationPlanError {
Show 20 variants
TooManySpells {
count: usize,
error: TryFromIntError,
},
UnresolvedSpell {
spell_id: u32,
},
InconsistentSpell {
spell_id: u32,
local: u8,
actual_spell_id: u32,
},
InconsistentOverride {
spell_id: u32,
},
UnresolvedOverride {
spell_id: u32,
override_spell_id: u32,
},
UnresolvedOverrideAura {
spell_id: u32,
aura_id: u32,
},
UnsupportedOverrideAura {
spell_id: u32,
aura_id: u32,
},
UnresolvedCastAura {
spell_id: u32,
kind: &'static str,
aura_id: u32,
},
UnsupportedCastAura {
spell_id: u32,
kind: &'static str,
aura_id: u32,
on: AuraOn,
},
MissingCastAuraBinding {
spell_id: u32,
kind: &'static str,
aura_id: u32,
},
CastAuraRangeOverflow,
InconsistentReferenceOrder {
spell_id: u32,
},
CastWithoutAvailability {
spell_id: u32,
},
UnresolvedItemUse {
slot: GearSlot,
spell_id: u32,
},
MissingItemSlot {
slot: GearSlot,
},
DuplicateItemSlot {
slot: GearSlot,
},
IncompleteDecisionMode {
mode: RotationDecisionMode,
reason: &'static str,
},
IncompleteDecisionCandidate {
mode: RotationDecisionMode,
spell_id: u32,
reason: &'static str,
},
MissingDecisionAuraProjection {
aura_id: u32,
on: AuraOn,
},
MissingDecisionResource {
resource: ResourceType,
},
}Variants§
TooManySpells
UnresolvedSpell
InconsistentSpell
InconsistentOverride
UnresolvedOverride
UnresolvedOverrideAura
UnsupportedOverrideAura
UnresolvedCastAura
UnsupportedCastAura
MissingCastAuraBinding
CastAuraRangeOverflow
InconsistentReferenceOrder
CastWithoutAvailability
UnresolvedItemUse
MissingItemSlot
Fields
§
slot: GearSlotDuplicateItemSlot
Fields
§
slot: GearSlotIncompleteDecisionMode
IncompleteDecisionCandidate
MissingDecisionAuraProjection
MissingDecisionResource
Fields
§
resource: ResourceTypeTrait Implementations§
Source§impl Debug for RotationPlanError
impl Debug for RotationPlanError
Source§impl Display for RotationPlanError
impl Display for RotationPlanError
Source§impl Error for RotationPlanError
impl Error for RotationPlanError
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 RotationPlanError
impl RefUnwindSafe for RotationPlanError
impl Send for RotationPlanError
impl Sync for RotationPlanError
impl Unpin for RotationPlanError
impl UnsafeUnpin for RotationPlanError
impl UnwindSafe for RotationPlanError
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable 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