pub enum CommandParseErrorKind {
Structural,
Lookup,
Other,
}Expand description
Coarse parse error class used by source-file recovery.
Variants§
Structural
The parser cannot safely identify a complete command boundary.
Lookup
Command name lookup failed after a structurally valid parse.
Other
Tokenization or command-size validation failed.
Trait Implementations§
Source§impl Clone for CommandParseErrorKind
impl Clone for CommandParseErrorKind
Source§fn clone(&self) -> CommandParseErrorKind
fn clone(&self) -> CommandParseErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandParseErrorKind
Source§impl Debug for CommandParseErrorKind
impl Debug for CommandParseErrorKind
impl Eq for CommandParseErrorKind
Source§impl PartialEq for CommandParseErrorKind
impl PartialEq for CommandParseErrorKind
impl StructuralPartialEq for CommandParseErrorKind
Auto Trait Implementations§
impl Freeze for CommandParseErrorKind
impl RefUnwindSafe for CommandParseErrorKind
impl Send for CommandParseErrorKind
impl Sync for CommandParseErrorKind
impl Unpin for CommandParseErrorKind
impl UnsafeUnpin for CommandParseErrorKind
impl UnwindSafe for CommandParseErrorKind
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