pub enum EntryParseError {
SignatureMismatch(u32, u32),
Timestamp(u64),
MessageLength(u16, u16),
SliceRead,
Overflow(&'static str),
Utf8Error(Utf8Error),
BadMessageEnd(usize, usize),
}
Expand description
Errors that occur when parsing entries
Variants§
SignatureMismatch(u32, u32)
Timestamp(u64)
MessageLength(u16, u16)
SliceRead
Overflow(&'static str)
Utf8Error(Utf8Error)
BadMessageEnd(usize, usize)
Trait Implementations§
Source§impl Debug for EntryParseError
impl Debug for EntryParseError
Source§impl Display for EntryParseError
impl Display for EntryParseError
Source§impl Error for EntryParseError
impl Error for EntryParseError
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<EntryParseError> for DiagnosticsError
impl From<EntryParseError> for DiagnosticsError
Source§fn from(source: EntryParseError) -> Self
fn from(source: EntryParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EntryParseError
impl RefUnwindSafe for EntryParseError
impl Send for EntryParseError
impl Sync for EntryParseError
impl Unpin for EntryParseError
impl UnwindSafe for EntryParseError
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