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