pub enum ParseErrorKind {
MaxDepth,
Eof,
InvalidChar(u8),
Expected(String),
Io(Error),
Utf8(FromUtf8Error),
Uuid(Error),
Chrono(ParseError),
Int(ParseIntError),
Float(ParseFloatError),
}Variants§
MaxDepth
Eof
InvalidChar(u8)
Expected(String)
Io(Error)
Utf8(FromUtf8Error)
Uuid(Error)
Chrono(ParseError)
Int(ParseIntError)
Float(ParseFloatError)
Trait Implementations§
Source§impl Debug for ParseErrorKind
impl Debug for ParseErrorKind
Source§impl Display for ParseErrorKind
impl Display for ParseErrorKind
Source§impl Error for ParseErrorKind
impl Error for ParseErrorKind
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for ParseErrorKind
impl From<Error> for ParseErrorKind
Source§impl From<Error> for ParseErrorKind
impl From<Error> for ParseErrorKind
Source§impl From<FromUtf8Error> for ParseErrorKind
impl From<FromUtf8Error> for ParseErrorKind
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for ParseErrorKind
impl From<ParseError> for ParseErrorKind
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseFloatError> for ParseErrorKind
impl From<ParseFloatError> for ParseErrorKind
Source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ParseErrorKind
impl From<ParseIntError> for ParseErrorKind
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseErrorKind
impl PartialEq for ParseErrorKind
impl Eq for ParseErrorKind
Auto Trait Implementations§
impl Freeze for ParseErrorKind
impl !RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl !UnwindSafe for ParseErrorKind
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