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