pub enum ParseErrorKind {
KeyInvalidUt8,
InvalidTimestamp,
InvalidLevel,
InvalidFile,
InvalidValue,
Io(Error),
}
Expand description
Error detail for ParseError
.
Variants§
KeyInvalidUt8
Key contains invalid UTF-8.
InvalidTimestamp
Timestamp (key ts
) is invalid.
InvalidLevel
Log level (key lvl
) is not valid.
InvalidFile
File and line number from where the message oriented (key file
) is
invalid.
InvalidValue
A value contains invalid UTF-8.
Io(Error)
I/O error.
Trait Implementations§
Source§impl Debug for ParseErrorKind
impl Debug 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