Enum brigadier_rs::CmdErrorKind
source · Expand description
Error kinds of CommandError
.
Variants
Char(char)
Nom parser expected a character but found a different one instead.
External(Error)
Error unknown to brigadier-rs.
Nom(ErrorKind)
Any other nom error.
OutOfBounds
Can be returned when parsing number arguments
NonEmpty
Input is not empty
Trait Implementations
sourceimpl Debug for CmdErrorKind
impl Debug for CmdErrorKind
sourceimpl Display for CmdErrorKind
impl Display for CmdErrorKind
Auto Trait Implementations
impl !RefUnwindSafe for CmdErrorKind
impl Send for CmdErrorKind
impl Sync for CmdErrorKind
impl Unpin for CmdErrorKind
impl !UnwindSafe for CmdErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more