Enum dlt_core::parse::DltParseError
source · pub enum DltParseError {
Unrecoverable(String),
ParsingHickup(String),
IncompleteParse {
needed: Option<NonZeroUsize>,
},
}
Expand description
Errors that can happen during parsing
Variants
Unrecoverable(String)
ParsingHickup(String)
IncompleteParse
Fields
needed: Option<NonZeroUsize>
Trait Implementations
sourceimpl Debug for DltParseError
impl Debug for DltParseError
sourceimpl Display for DltParseError
impl Display for DltParseError
sourceimpl Error for DltParseError
impl Error for DltParseError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Err<DltParseError>> for DltParseError
impl From<Err<DltParseError>> for DltParseError
sourcefn from(ne: Err<DltParseError>) -> Self
fn from(ne: Err<DltParseError>) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for DltParseError
impl From<Error> for DltParseError
sourcefn from(err: Error) -> DltParseError
fn from(err: Error) -> DltParseError
Converts to this type from the input type.
sourceimpl ParseError<&[u8]> for DltParseError
impl ParseError<&[u8]> for DltParseError
sourceimpl PartialEq<DltParseError> for DltParseError
impl PartialEq<DltParseError> for DltParseError
sourcefn eq(&self, other: &DltParseError) -> bool
fn eq(&self, other: &DltParseError) -> bool
impl StructuralPartialEq for DltParseError
Auto Trait Implementations
impl RefUnwindSafe for DltParseError
impl Send for DltParseError
impl Sync for DltParseError
impl Unpin for DltParseError
impl UnwindSafe for DltParseError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more