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