pub enum ParamParseError {
Empty,
InvalidFlag,
InvalidGeneric,
TypeDef {
name: String,
},
MissingDef,
NotImplemented,
}Expand description
The error type for the parsing operation of Parameters.
Variants§
Empty
The parameter was empty.
InvalidFlag
The flag specification was invalid.
InvalidGeneric
The generic argument was invalid.
TypeDef
The parameter is actually a generic type definition for later
use, such as {X:Type}, but it is not a parameter in itself.
MissingDef
The parameter refers to some unknown definition.
NotImplemented
The parser does not know how to parse the parameter.
Trait Implementations§
Source§impl Debug for ParamParseError
impl Debug for ParamParseError
Source§impl PartialEq for ParamParseError
impl PartialEq for ParamParseError
impl StructuralPartialEq for ParamParseError
Auto Trait Implementations§
impl Freeze for ParamParseError
impl RefUnwindSafe for ParamParseError
impl Send for ParamParseError
impl Sync for ParamParseError
impl Unpin for ParamParseError
impl UnwindSafe for ParamParseError
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