pub enum ParseCounterError {
ParseInt(ParseIntError),
Utf8(Utf8Error),
}
Expand description
Returned when an attempt to parse a counter within a plugin environment fails.
Variants§
ParseInt(ParseIntError)
Utf8(Utf8Error)
Trait Implementations§
Source§impl Debug for ParseCounterError
impl Debug for ParseCounterError
Source§impl Display for ParseCounterError
impl Display for ParseCounterError
Source§impl Error for ParseCounterError
impl Error for ParseCounterError
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<ParseIntError> for ParseCounterError
impl From<ParseIntError> for ParseCounterError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParseCounterError
impl RefUnwindSafe for ParseCounterError
impl Send for ParseCounterError
impl Sync for ParseCounterError
impl Unpin for ParseCounterError
impl UnwindSafe for ParseCounterError
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