pub enum Error<'a> {
Incomplete(DBC, &'a str),
Nom(Err<Error<&'a str>>),
MultipleMultiplexors,
}
Expand description
Possible error cases for can-dbc
Variants§
Incomplete(DBC, &'a str)
Remaining String, the DBC was only read partially. Occurs when e.g. an unexpected symbol occurs.
Nom(Err<Error<&'a str>>)
Parser failed
MultipleMultiplexors
Can’t Lookup multiplexors because the message uses extended multiplexing.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Error<'a>
impl<'a> Send for Error<'a>
impl<'a> Sync for Error<'a>
impl<'a> Unpin for Error<'a>
impl<'a> UnwindSafe for Error<'a>
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