pub enum MonsterFollowError {
InvalidId(InvalidId),
MoveMonster(MoveMonsterError),
}Variants§
InvalidId(InvalidId)
MoveMonster(MoveMonsterError)
Trait Implementations§
Source§impl Debug for MonsterFollowError
impl Debug for MonsterFollowError
Source§impl Display for MonsterFollowError
impl Display for MonsterFollowError
Source§impl Error for MonsterFollowError
impl Error for MonsterFollowError
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<InvalidId> for MonsterFollowError
impl From<InvalidId> for MonsterFollowError
Source§impl From<MonsterFollowError> for ApplyError
impl From<MonsterFollowError> for ApplyError
Source§fn from(source: MonsterFollowError) -> Self
fn from(source: MonsterFollowError) -> Self
Converts to this type from the input type.
Source§impl From<MoveMonsterError> for MonsterFollowError
impl From<MoveMonsterError> for MonsterFollowError
Source§fn from(source: MoveMonsterError) -> Self
fn from(source: MoveMonsterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MonsterFollowError
impl RefUnwindSafe for MonsterFollowError
impl Send for MonsterFollowError
impl Sync for MonsterFollowError
impl Unpin for MonsterFollowError
impl UnsafeUnpin for MonsterFollowError
impl UnwindSafe for MonsterFollowError
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