pub enum ParseLineErrorKind {
InvalidTimestamp,
InvalidLeapSecondLine,
InvalidTaiDiff,
InvalidHash,
}Expand description
Reasons that could cause a line to not be parsed successfully.
Variants§
InvalidTimestamp
A timestamp is incorrectly formatted.
InvalidLeapSecondLine
A line describing a leap second is incorrectly formatted.
InvalidTaiDiff
InvalidHash
The line containing the hash of the data is incorrectly formatted.
Trait Implementations§
Source§impl Clone for ParseLineErrorKind
impl Clone for ParseLineErrorKind
Source§fn clone(&self) -> ParseLineErrorKind
fn clone(&self) -> ParseLineErrorKind
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 moreSource§impl Debug for ParseLineErrorKind
impl Debug for ParseLineErrorKind
Source§impl Display for ParseLineErrorKind
impl Display for ParseLineErrorKind
Source§impl PartialEq for ParseLineErrorKind
impl PartialEq for ParseLineErrorKind
Source§fn eq(&self, other: &ParseLineErrorKind) -> bool
fn eq(&self, other: &ParseLineErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ParseLineErrorKind
impl Eq for ParseLineErrorKind
impl StructuralPartialEq for ParseLineErrorKind
Auto Trait Implementations§
impl Freeze for ParseLineErrorKind
impl RefUnwindSafe for ParseLineErrorKind
impl Send for ParseLineErrorKind
impl Sync for ParseLineErrorKind
impl Unpin for ParseLineErrorKind
impl UnsafeUnpin for ParseLineErrorKind
impl UnwindSafe for ParseLineErrorKind
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