pub enum DoipError {
Transport(DiagError),
Validation(DoipValidationError),
Parse(String<64>),
}Variants§
Transport(DiagError)
Underlying transport or framing error
Validation(DoipValidationError)
Frame structure violated ISO 13400-2 constraints
Parse(String<64>)
Frame was structurally valid but could not be parsed
Trait Implementations§
Source§impl From<DoipValidationError> for DoipError
impl From<DoipValidationError> for DoipError
Source§fn from(e: DoipValidationError) -> Self
fn from(e: DoipValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DoipError
impl RefUnwindSafe for DoipError
impl Send for DoipError
impl Sync for DoipError
impl Unpin for DoipError
impl UnsafeUnpin for DoipError
impl UnwindSafe for DoipError
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