pub enum MalformedKind {
UnknownVerb,
MissingVerb,
UnexpectedWord,
UnexpectedVerb,
}Variants§
UnknownVerb
A word in verb position that is not one of the four verbs.
MissingVerb
A tool prefix with no verb after it at all.
UnexpectedWord
Text after the verb that is not a : reason. A format directive names
no rule, and the # arity form covers every rule by construction, so a
word there was meant to do something it cannot do.
UnexpectedVerb
A verb after the deprecated arity-ignore, which spells its own verb —
a mix of the two spellings.
Trait Implementations§
Source§impl Clone for MalformedKind
impl Clone for MalformedKind
Source§fn clone(&self) -> MalformedKind
fn clone(&self) -> MalformedKind
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 MalformedKind
Source§impl Debug for MalformedKind
impl Debug for MalformedKind
impl Eq for MalformedKind
Source§impl PartialEq for MalformedKind
impl PartialEq for MalformedKind
impl StructuralPartialEq for MalformedKind
Auto Trait Implementations§
impl Freeze for MalformedKind
impl RefUnwindSafe for MalformedKind
impl Send for MalformedKind
impl Sync for MalformedKind
impl Unpin for MalformedKind
impl UnsafeUnpin for MalformedKind
impl UnwindSafe for MalformedKind
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