pub enum ParseError {
Empty,
InvalidParam(ParamParseError),
MissingName,
MissingType,
NotImplemented,
UnknownSeparator,
}
Expand description
The error type for the parsing operation of Definition
s.
Variants§
Empty
The definition is empty.
InvalidParam(ParamParseError)
One of the parameters from this definition was invalid.
MissingName
The name information is missing from the definition.
MissingType
The type information is missing from the definition.
NotImplemented
The parser does not know how to parse the definition.
UnknownSeparator
The file contained an unknown separator (such as ---foo---
)
Trait Implementations§
Source§impl Debug for ParseError
impl Debug for ParseError
Source§impl PartialEq for ParseError
impl PartialEq for ParseError
impl Eq for ParseError
impl StructuralPartialEq for ParseError
Auto Trait Implementations§
impl Freeze for ParseError
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
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